summaryrefslogtreecommitdiff
path: root/i/pc104/initrd/create.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i/pc104/initrd/create.sh')
-rwxr-xr-xi/pc104/initrd/create.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/i/pc104/initrd/create.sh b/i/pc104/initrd/create.sh
index 342ddf8..3057c97 100755
--- a/i/pc104/initrd/create.sh
+++ b/i/pc104/initrd/create.sh
@@ -63,6 +63,8 @@ create_empty_struct ()
install -m 755 $INITRD_CONFIG_DIR/update_initrd.sh $INITRD_TEMPDIR/etc/robot/update_initrd.sh
# Udhcpc script
install -m 755 $INITRD_CONFIG_DIR/udhcpc.script $INITRD_TEMPDIR/etc/udhcpc.script
+ # Library
+ ln -s /robot/lib $INITRD_TEMPDIR/lib
}
create_dev ()
@@ -147,7 +149,7 @@ umount_initrd ()
# Need a compression ?
if (( $INITRD_COMPRESS == 0 ))
then
- gzip -f -9 $INITRD_OUTPUT
+ gzip -f -4 $INITRD_OUTPUT
fi
}