add livekitlib to initrd

pull/5/head
Tomas M 2012-09-04 12:40:28 -05:00
parent a215383694
commit 6b38ed14bc
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,8 @@
export PATH=.:/:/usr/sbin:/usr/bin:/sbin:/bin export PATH=.:/:/usr/sbin:/usr/bin:/sbin:/bin
. /linuxkitlib
mount -n -t proc proc /proc mount -n -t proc proc /proc
mount -n -t sysfs sysfs /sys mount -n -t sysfs sysfs /sys
mount -n -o remount,rw rootfs / mount -n -o remount,rw rootfs /

View File

@ -63,6 +63,7 @@ touch $INITRAMFS/etc/{m,fs}tab
cp init $INITRAMFS/ cp init $INITRAMFS/
chmod a+x $INITRAMFS/init chmod a+x $INITRAMFS/init
cp ../tools/linuxkitlib $INITRAMFS/
cd $INITRAMFS cd $INITRAMFS
find . -print | cpio -o -H newc 2>/dev/null | gzip -f --best >$INITRAMFS.img find . -print | cpio -o -H newc 2>/dev/null | gzip -f --best >$INITRAMFS.img