mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Rename ipfirerd to initramfs so that it will be found by grub.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#boot/ipfirerd-KVER.img
|
||||
#boot/initramfs-KVER-ipfire.img
|
||||
etc/dracut.conf
|
||||
etc/dracut.conf.d
|
||||
#etc/dracut.conf.d/dracut.conf
|
||||
|
||||
@@ -2954,4 +2954,4 @@ lib/modules/KVER-ipfire
|
||||
#lib/modules/KVER-ipfire/modules.symbols.bin
|
||||
#lib/modules/KVER-ipfire/source
|
||||
sbin/gen_init_cpio
|
||||
boot/ipfirerd-KVER.img
|
||||
boot/initramfs-KVER-ipfire.img
|
||||
|
||||
@@ -102,7 +102,7 @@ ifeq "$(MACHINE_TYPE)" "arm"
|
||||
cd /boot && mkimage -A arm -T ramdisk -C lzma -d ipfirerd-$(KVER)-multi.img uInit-ipfire-multi
|
||||
# cd /boot && cp -f ipfirerd-$(KVER)-multi.img zInit-ipfire-multi
|
||||
else
|
||||
/sbin/dracut --force --verbose --strip /boot/ipfirerd-$(KVER).img $(KVER)-ipfire
|
||||
/sbin/dracut --force --verbose --strip /boot/initramfs-$(KVER)-ipfire.img $(KVER)-ipfire
|
||||
endif
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
@@ -54,7 +54,7 @@ $(TARGET) :
|
||||
|
||||
# Finish up initrd directory
|
||||
-mkdir -p /install/initrd/{dev,etc,mnt,root,lib/modules/$(KVER)-ipfire/kernel/drivers,cdrom,dev,harddisk,proc,tmp,usr/share/terminfo/l,var/run,sys}
|
||||
cd /install/initrd && lzma -d -c /boot/ipfirerd-$(KVER).img | cpio -i
|
||||
cd /install/initrd && lzma -d -c /boot/initramfs-$(KVER)-ipfire.img | cpio -i
|
||||
|
||||
# Copy Files packages for installer
|
||||
find $(DIR_SRC)/config/rootfiles/installer/* -maxdepth 1 | xargs cat | grep -v "^#" > /tmp/ROOTFILES
|
||||
|
||||
Reference in New Issue
Block a user