mirror of https://github.com/aredn/aredn.git
Initramfs cleanup (#660)
* Config changes to remove unused initramfs * Fix
This commit is contained in:
parent
78b8578a06
commit
6aa290398b
3
Makefile
3
Makefile
|
@ -148,8 +148,7 @@ compile: stamp-clean-compiled .stamp-compiled
|
|||
$(UMASK); \
|
||||
$(MAKE) -C $(OPENWRT_DIR) $(MAKE_ARGS)
|
||||
for FILE in `find $(TOP_DIR)/firmware/targets/$(MAINTARGET)/$(SUBTARGET) -path "*packages" -prune -o \( -type f -a \
|
||||
! \( -name "*factory.bin" -o -name "*sysupgrade.bin" -o -name "*initramfs.elf" -o \
|
||||
-name "*kernel.bin" -o -name sha256sums -o -name "*.buildinfo" -o -name "*.json" \) \
|
||||
! \( -name "*factory.bin" -o -name "*sysupgrade.bin" -o -name "*initramfs*" -o -name sha256sums -o -name "*.buildinfo" -o -name "*.json" \) \
|
||||
-print \)`; do rm $$FILE; \
|
||||
done;
|
||||
$(TOP_DIR)/scripts/tests-postbuild.sh
|
||||
|
|
|
@ -2,6 +2,11 @@ CONFIG_TARGET_ath79=y
|
|||
CONFIG_TARGET_ath79_mikrotik=y
|
||||
CONFIG_TARGET_DEVICE_ath79_mikrotik_DEVICE_mikrotik_routerboard-921gs-5hpacd-15s=y
|
||||
CONFIG_TARGET_DEVICE_ath79_mikrotik_DEVICE_mikrotik_routerboard-921gs-5hpacd-19s=y
|
||||
|
||||
#
|
||||
# Mikrotik use initramfs to install
|
||||
#
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS=y
|
||||
#
|
||||
# DEVICE_PACKAGES are not included in the initramfs, but for these devices we need
|
||||
# extra packages pre-installed to successfully install sysupgrade.
|
||||
|
|
|
@ -2,6 +2,11 @@ CONFIG_TARGET_ath79=y
|
|||
CONFIG_TARGET_ath79_mikrotik=y
|
||||
CONFIG_TARGET_DEVICE_ath79_mikrotik_DEVICE_mikrotik_routerboard-912uag-2hpnd=y
|
||||
CONFIG_TARGET_DEVICE_ath79_mikrotik_DEVICE_mikrotik_routerboard-912uag-5hpnd=y
|
||||
|
||||
#
|
||||
# Mikrotik use initramfs to install
|
||||
#
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS=y
|
||||
#
|
||||
# DEVICE_PACKAGES are not included in the initramfs, but for these devices we need
|
||||
# extra packages pre-installed to successfully install sysupgrade.
|
||||
|
|
|
@ -6,3 +6,8 @@ CONFIG_TARGET_DEVICE_ath79_mikrotik_DEVICE_mikrotik_routerboard-lhg-5nd=y
|
|||
CONFIG_TARGET_DEVICE_ath79_mikrotik_DEVICE_mikrotik_routerboard-sxt-5nd=y
|
||||
CONFIG_TARGET_DEVICE_ath79_mikrotik_DEVICE_mikrotik_routerboard-sxt-5nd-r2=y
|
||||
CONFIG_TARGET_DEVICE_ath79_mikrotik_DEVICE_mikrotik_routerboard-ldf-5nd=y
|
||||
|
||||
#
|
||||
# Mikrotik use initramfs to install
|
||||
#
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS=y
|
||||
|
|
|
@ -160,6 +160,7 @@ CONFIG_STRIP_KERNEL_EXPORTS=y
|
|||
CONFIG_TARGET_MULTI_PROFILE=y
|
||||
CONFIG_TARGET_PER_DEVICE_ROOTFS=y
|
||||
CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE=y
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS=n
|
||||
CONFIG_VERSION_BUG_URL="https://github.com/aredn/aredn/issues"
|
||||
CONFIG_VERSION_CODE=""
|
||||
CONFIG_VERSION_DIST="AREDN"
|
||||
|
|
|
@ -4,3 +4,8 @@ CONFIG_TARGET_DEVICE_ipq40xx_mikrotik_DEVICE_mikrotik_hap-ac2=y
|
|||
CONFIG_TARGET_DEVICE_ipq40xx_mikrotik_DEVICE_mikrotik_hap-ac3=y
|
||||
CONFIG_TARGET_DEVICE_ipq40xx_mikrotik_DEVICE_mikrotik_lhgg-5acd=y
|
||||
CONFIG_TARGET_DEVICE_ipq40xx_mikrotik_DEVICE_mikrotik_sxtsq-5-ac=y
|
||||
|
||||
#
|
||||
# Mikrotik use initramfs to install
|
||||
#
|
||||
CONFIG_TARGET_ROOTFS_INITRAMFS=y
|
||||
|
|
Loading…
Reference in New Issue