move livekitlib to root
parent
ee2350501f
commit
ffbcc57bbe
|
|
@ -17,7 +17,7 @@ How to create bundle:
|
||||||
# mksquashfs /usr /usr.sb --keep-as-directory -comp xz -bs 512k
|
# mksquashfs /usr /usr.sb --keep-as-directory -comp xz -bs 512k
|
||||||
|
|
||||||
or use function in livekitlib:
|
or use function in livekitlib:
|
||||||
# . toos/livekitlib; make_bundle bundle_rootfs wholefs.sb
|
# . livekitlib; make_bundle bundle_rootfs wholefs.sb
|
||||||
|
|
||||||
|
|
||||||
Special files in bundle filesystem structure:
|
Special files in bundle filesystem structure:
|
||||||
|
|
|
||||||
2
build
2
build
|
|
@ -8,7 +8,7 @@ echo "Changing current directory to $CHANGEDIR"
|
||||||
cd $CHANGEDIR
|
cd $CHANGEDIR
|
||||||
|
|
||||||
. ./.config || exit 1
|
. ./.config || exit 1
|
||||||
. ./tools/livekitlib || exit 1
|
. ./livekitlib || exit 1
|
||||||
|
|
||||||
# only root can continue, because only root can read all files from your system
|
# only root can continue, because only root can read all files from your system
|
||||||
allow_only_root
|
allow_only_root
|
||||||
|
|
|
||||||
|
|
@ -63,7 +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/livekitlib $INITRAMFS/
|
cp ../livekitlib $INITRAMFS/
|
||||||
cp ../.config $INITRAMFS/
|
cp ../.config $INITRAMFS/
|
||||||
|
|
||||||
cd $INITRAMFS
|
cd $INITRAMFS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue