diff options
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 8a14d1688b..15b677015f 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -129,7 +129,7 @@ do_install () { | |||
129 | sbinprogs="agetty ctrlaltdel cfdisk vipw vigr" | 129 | sbinprogs="agetty ctrlaltdel cfdisk vipw vigr" |
130 | sbinprogs_a="pivot_root hwclock mkswap mkfs.minix fsck.minix losetup swapon swapoff fdisk readprofile fsck blkid blockdev" | 130 | sbinprogs_a="pivot_root hwclock mkswap mkfs.minix fsck.minix losetup swapon swapoff fdisk readprofile fsck blkid blockdev" |
131 | usrbinprogs_a="chfn chsh hexdump last logger mesg newgrp renice utmpdump wall setsid chrt flock getopt" | 131 | usrbinprogs_a="chfn chsh hexdump last logger mesg newgrp renice utmpdump wall setsid chrt flock getopt" |
132 | binprogs_a="dmesg kill more umount mount login reset" | 132 | binprogs_a="dmesg kill more umount mount login reset su" |
133 | 133 | ||
134 | if [ "${base_sbindir}" != "${sbindir}" ]; then | 134 | if [ "${base_sbindir}" != "${sbindir}" ]; then |
135 | mkdir -p ${D}${base_sbindir} | 135 | mkdir -p ${D}${base_sbindir} |
@@ -224,6 +224,6 @@ BBCLASSEXTEND = "native nativesdk" | |||
224 | python do_package_prepend () { | 224 | python do_package_prepend () { |
225 | if '--enable-su' in d.getVar('EXTRA_OECONF', True).split(): | 225 | if '--enable-su' in d.getVar('EXTRA_OECONF', True).split(): |
226 | alt_name = "su" | 226 | alt_name = "su" |
227 | d.setVarFlag('ALTERNATIVE_LINK_NAME', alt_name, '%s/%s' % (d.getVar('bindir', True), alt_name)) | 227 | d.setVarFlag('ALTERNATIVE_LINK_NAME', alt_name, '%s/%s' % (d.getVar('base_bindir', True), alt_name)) |
228 | d.appendVar('ALTERNATIVE_%s' % (d.getVar('PN', True)), ' ' + alt_name) | 228 | d.appendVar('ALTERNATIVE_%s' % (d.getVar('PN', True)), ' ' + alt_name) |
229 | } | 229 | } |