mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-22 16:21:33 +00:00
[cpc][ppc64el] apt-get update before installing grub2
This commit is contained in:
parent
d97134679d
commit
319e3668b9
@ -26,6 +26,7 @@ install_grub() {
|
|||||||
mkdir mountpoint
|
mkdir mountpoint
|
||||||
mount_partition "${rootfs_dev_mapper}" mountpoint
|
mount_partition "${rootfs_dev_mapper}" mountpoint
|
||||||
|
|
||||||
|
chroot mountpoint apt-get -qqy update
|
||||||
chroot mountpoint apt-get -qqy install grub2
|
chroot mountpoint apt-get -qqy install grub2
|
||||||
chroot mountpoint apt-get -qqy remove --purge grub-legacy-ec2
|
chroot mountpoint apt-get -qqy remove --purge grub-legacy-ec2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user