2
0
forked from Ivasoft/openwrt

mvebu: shrink amount of packages and reorganize them

Since most of devices using SD card image to boot, use ext4 as boot
files system we can drop fat fs related packages. Also move packages
which are added repeatedly across subtargets to their default packages,
with droping the ones that are enabled in target kernel configugation.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
This commit is contained in:
Tomasz Maciej Nowak
2019-03-28 18:07:07 +01:00
committed by Hauke Mehrtens
parent 55b4ff7f73
commit 727c3df5bb
6 changed files with 15 additions and 11 deletions

View File

@@ -3,12 +3,18 @@
BOOTPART=/dev/mmcblk0p1
. /lib/functions.sh
move_config() {
if [ -b $BOOTPART ]; then
insmod nls_cp437
insmod nls_iso8859-1
insmod fat
insmod vfat
case $(board_name) in
turris-omnia)
insmod nls_cp437
insmod nls_iso8859-1
insmod fat
insmod vfat
;;
esac
mkdir -p /boot
mount -o rw,noatime $BOOTPART /boot
[ -f /boot/sysupgrade.tgz ] && mv -f /boot/sysupgrade.tgz /