add livekitlib to initrd
This commit is contained in:
@@ -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 /
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user