Let LDSO be optional
This commit is contained in:
parent
3355861ae2
commit
adc862d5a5
|
@ -98,7 +98,7 @@ _image_ramdisk_pre()
|
||||||
IMAGE_FILE Where to write the filesystem image\n\
|
IMAGE_FILE Where to write the filesystem image\n\
|
||||||
IMAGE_MODULES Path to a tar.gz archive of kernel modules (optional)\n\
|
IMAGE_MODULES Path to a tar.gz archive of kernel modules (optional)\n\
|
||||||
IMAGE_SIZE Size of the filesystem image in kilobytes\n\
|
IMAGE_SIZE Size of the filesystem image in kilobytes\n\
|
||||||
LDSO Path to the dynamic loader
|
LDSO Path to the dynamic loader (optional)
|
||||||
GENEXT2FS Command used to generate the ramdisk image"
|
GENEXT2FS Command used to generate the ramdisk image"
|
||||||
|
|
||||||
#sanity check
|
#sanity check
|
||||||
|
@ -126,8 +126,10 @@ _image_ramdisk_post()
|
||||||
$DEBUG $LN -s "../mnt/cdrom/usr/bin/sh" "$DESTDIR/sbin/init" \
|
$DEBUG $LN -s "../mnt/cdrom/usr/bin/sh" "$DESTDIR/sbin/init" \
|
||||||
|| exit 2
|
|| exit 2
|
||||||
|
|
||||||
#install loader
|
#install dynamic loader
|
||||||
$DEBUG $INSTALL -m 0755 "$LDSO" "$DESTDIR/lib" || exit 2
|
if [ -n "$LDSO" ]; then
|
||||||
|
$DEBUG $INSTALL -m 0755 "$LDSO" "$DESTDIR/lib" || exit 2
|
||||||
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo -n "Creating ramdisk:"
|
echo -n "Creating ramdisk:"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user