Code cleanup

This commit is contained in:
Pierre Pronchery 2012-10-07 15:48:20 +00:00
parent af65c343b3
commit 7746ff15e6
2 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ _image_ramdisk_post()
#compile and install linuxrc
TOOLS="Apps/Unix/src/others/tools"
SUBDIRS="$TOOLS" target linuxrc || exit 2
SUBDIRS="$TOOLS" _target linuxrc || exit 2
$INSTALL -m 755 "$TOOLS/linuxrc" "$DESTDIR/linuxrc" || exit 2
#setup init

View File

@ -87,7 +87,7 @@ _image_image_post()
$SUDO $LN -s "/libexec/ld.elf_so" "$DESTDIR/usr/libexec"&&
$SUDO $MKDIR -- "$DESTDIR/proc" &&
$SUDO $MKDIR -- "$DESTDIR/sbin" &&
SUBDIRS="Apps/Unix/src/others/tools" target oinit &&
SUBDIRS="Apps/Unix/src/others/tools" _target oinit &&
$SUDO $INSTALL -m 755 "Apps/Unix/src/others/tools/oinit" \
"$DESTDIR/sbin/init" &&
$SUDO $INSTALL -m 644 "$IMAGE_BOOT" "$DESTDIR/boot" &&
@ -147,7 +147,7 @@ _image_iso_post()
$INSTALL -m 555 "$LDSO" "$DESTDIR/libexec/ld.elf_so" || exit 2
$LN -s "/libexec/ld.elf_so" "$DESTDIR/usr/libexec" || exit 2
$MKDIR -- "$DESTDIR/sbin" || exit 2
SUBDIRS="Apps/Unix/src/others/tools" target oinit || exit 2
SUBDIRS="Apps/Unix/src/others/tools" _target oinit || exit 2
$INSTALL -m 755 "Apps/Unix/src/others/tools/oinit" \
"$DESTDIR/sbin/init" || exit 2
$INSTALL -m 755 "$IMAGE_KERNEL" "$DESTDIR/netbsd" || exit 2