rename linuxkitlib to livekitlib
parent
091bdae49f
commit
ceb1a565aa
|
|
@ -16,8 +16,8 @@ How to create bundle:
|
|||
or
|
||||
# mksquashfs /usr /usr.sb --keep-as-directory -comp xz -bs 512k
|
||||
|
||||
or use function in linuxkitlib:
|
||||
# . toos/linuxkitlib; make_bundle bundle_rootfs wholefs.sb
|
||||
or use function in livekitlib:
|
||||
# . toos/livekitlib; make_bundle bundle_rootfs wholefs.sb
|
||||
|
||||
|
||||
Special files in bundle filesystem structure:
|
||||
|
|
|
|||
2
build
2
build
|
|
@ -8,7 +8,7 @@ echo "Changing current directory to $CHANGEDIR"
|
|||
cd $CHANGEDIR
|
||||
|
||||
. ./.config || exit 1
|
||||
. ./tools/linuxkitlib || exit 1
|
||||
. ./tools/livekitlib || exit 1
|
||||
|
||||
# only root can continue, because only root can read all files from your system
|
||||
allow_only_root
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ touch $INITRAMFS/etc/{m,fs}tab
|
|||
|
||||
cp init $INITRAMFS/
|
||||
chmod a+x $INITRAMFS/init
|
||||
cp ../tools/linuxkitlib $INITRAMFS/
|
||||
cp ../tools/livekitlib $INITRAMFS/
|
||||
|
||||
cd $INITRAMFS
|
||||
find . -print | cpio -o -H newc 2>/dev/null | gzip -f --best >$INITRAMFS.img
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
# global variable
|
||||
DEBUG_IS_ENABLED=$(cat /proc/cmdline 2>/dev/null | grep debug)
|
||||
LIVEKITNAME=mylinux
|
||||
|
||||
debug_log()
|
||||
{
|
||||
Loading…
Reference in New Issue