rename linuxkitlib to livekitlib

pull/5/head
Tomas M 2012-09-06 04:31:16 -05:00
parent 091bdae49f
commit ceb1a565aa
4 changed files with 5 additions and 4 deletions

View File

@ -16,8 +16,8 @@ How to create bundle:
or or
# 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 linuxkitlib: or use function in livekitlib:
# . toos/linuxkitlib; make_bundle bundle_rootfs wholefs.sb # . toos/livekitlib; make_bundle bundle_rootfs wholefs.sb
Special files in bundle filesystem structure: Special files in bundle filesystem structure:

2
build
View File

@ -8,7 +8,7 @@ echo "Changing current directory to $CHANGEDIR"
cd $CHANGEDIR cd $CHANGEDIR
. ./.config || exit 1 . ./.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 # only root can continue, because only root can read all files from your system
allow_only_root allow_only_root

View File

@ -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/linuxkitlib $INITRAMFS/ cp ../tools/livekitlib $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

View File

@ -10,6 +10,7 @@
# global variable # global variable
DEBUG_IS_ENABLED=$(cat /proc/cmdline 2>/dev/null | grep debug) DEBUG_IS_ENABLED=$(cat /proc/cmdline 2>/dev/null | grep debug)
LIVEKITNAME=mylinux
debug_log() debug_log()
{ {