All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11876] New: automount using host mount/umount
@ 2019-05-14 18:51 bugzilla at busybox.net
  2019-08-17 12:48 ` [Buildroot] [Bug 11876] " bugzilla at busybox.net
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2019-05-14 18:51 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11876

            Bug ID: 11876
           Summary: automount using host mount/umount
           Product: buildroot
           Version: 2019.02.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: todd.valentic at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

In buildroot, the autofs package is finding the path to the host
mount/umount/fsck programs instead of the locations on the target in the
autoconf stage. These paths are used by automount and therefore fail to mount
when running on the target. You can see the this by looking at the autoconf
output puts in config.log or include/config.h for the values of the PATH_MOUNT
variables.

The autofs.mk file mentions this problem with modprobe but doesn't set the path
for the other programs. The solution is to add the target paths to
AUTOFS_CONF_ENV in autofs.mk:

# autofs looks on the build machine for the path of modprobe, so tell
# it explicitly where it will be located on the target.
AUTOFS_CONF_ENV = \
        ac_cv_path_KRB5_CONFIG=no \
        ac_cv_path_MODPROBE=/sbin/modprobe \
+       ac_cv_path_E2FSCK=/usr/sbin/fsck.ext2 \
+       ac_cv_path_E3FSCK=/usr/sbin/fsck.ext3 \
+       ac_cv_path_E4FSCK=/usr/sbin/fsck.ext4 \
+       ac_cv_path_MOUNT_NFS=/usr/sbin/mount.nfs \
+       ac_cv_path_MOUNT=/bin/mount \
+       ac_cv_path_UMOUNT=/bin/umount \
        ac_cv_linux_procfs=yes

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [Bug 11876] automount using host mount/umount
  2019-05-14 18:51 [Buildroot] [Bug 11876] New: automount using host mount/umount bugzilla at busybox.net
@ 2019-08-17 12:48 ` bugzilla at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla at busybox.net @ 2019-08-17 12:48 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11876

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=8c89a3a9a1d591d151daed2c081376dbd512083b.
Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-17 12:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-14 18:51 [Buildroot] [Bug 11876] New: automount using host mount/umount bugzilla at busybox.net
2019-08-17 12:48 ` [Buildroot] [Bug 11876] " bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.