mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
flash-images: activate autoresize also on arm.
This commit is contained in:
@@ -111,15 +111,15 @@ ifneq "$(MACHINE_TYPE)" "arm"
|
||||
sed -i -e "s|ROOT|UUID=$$(blkid -sUUID $(IMGroot) | cut -d'"' -f2)|g" $(MNThdd)/boot/grub/grub.conf
|
||||
ln -s grub.conf $(MNThdd)/boot/grub/menu.lst
|
||||
|
||||
# Copy grub files manually
|
||||
cp -f $(MNThdd)/usr/share/grub/i386-pc/* $(MNThdd)/boot/grub/
|
||||
endif
|
||||
|
||||
# Setup symlink for partresize at first boot...
|
||||
ln -sf ../init.d/partresize $(MNThdd)/etc/rc.d/rcsysinit.d/S25partresize
|
||||
# Setup symlink for fsresize at second boot...
|
||||
ln -sf ../init.d/fsresize $(MNThdd)/etc/rc.d/rcsysinit.d/S26fsresize
|
||||
|
||||
# Copy grub files manually
|
||||
cp -f $(MNThdd)/usr/share/grub/i386-pc/* $(MNThdd)/boot/grub/
|
||||
endif
|
||||
|
||||
# Unmount
|
||||
umount $(MNThdd)/proc
|
||||
umount $(MNThdd)/dev
|
||||
|
||||
Reference in New Issue
Block a user