mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +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
|
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
|
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...
|
# Setup symlink for partresize at first boot...
|
||||||
ln -sf ../init.d/partresize $(MNThdd)/etc/rc.d/rcsysinit.d/S25partresize
|
ln -sf ../init.d/partresize $(MNThdd)/etc/rc.d/rcsysinit.d/S25partresize
|
||||||
# Setup symlink for fsresize at second boot...
|
# Setup symlink for fsresize at second boot...
|
||||||
ln -sf ../init.d/fsresize $(MNThdd)/etc/rc.d/rcsysinit.d/S26fsresize
|
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
|
# Unmount
|
||||||
umount $(MNThdd)/proc
|
umount $(MNThdd)/proc
|
||||||
umount $(MNThdd)/dev
|
umount $(MNThdd)/dev
|
||||||
|
|||||||
Reference in New Issue
Block a user