diff --git a/DOC/bundle.txt b/DOC/bundle.txt index e5e119a..9b89e47 100644 --- a/DOC/bundle.txt +++ b/DOC/bundle.txt @@ -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: diff --git a/build b/build index 71c4dcf..e087ea8 100755 --- a/build +++ b/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 diff --git a/initramfs/initramfs_create b/initramfs/initramfs_create index c53e9db..e406cd9 100755 --- a/initramfs/initramfs_create +++ b/initramfs/initramfs_create @@ -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 diff --git a/tools/linuxkitlib b/tools/livekitlib similarity index 99% rename from tools/linuxkitlib rename to tools/livekitlib index e2d5d53..f39a577 100755 --- a/tools/linuxkitlib +++ b/tools/livekitlib @@ -10,6 +10,7 @@ # global variable DEBUG_IS_ENABLED=$(cat /proc/cmdline 2>/dev/null | grep debug) +LIVEKITNAME=mylinux debug_log() {