include config in initramfs
This commit is contained in:
@@ -64,6 +64,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 ../tools/livekitlib $INITRAMFS/
|
||||||
|
cp ../.config $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
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
# 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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user