This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via fa8b3ea7d3c45ab4577f8cb920944fbf63586caa (commit) from 7c30831ad2aee45b9ccc8d9156bf7d6069f61a6a (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit fa8b3ea7d3c45ab4577f8cb920944fbf63586caa Author: Arne Fitzenreiter arne_f@ipfire.org Date: Tue Aug 13 15:21:02 2019 +0200
installer: fix grub.conf root uuid entry
grub-mkconfig has written the device name instead of uuid's because the /dev/disk-by-uuid node of the new filesystem was missing run "udevadm trigger" to create this nodes before install grub.
fixes: #12116
Signed-off-by: Arne Fitzenreiter arne_f@ipfire.org
-----------------------------------------------------------------------
Summary of changes: src/installer/main.c | 7 +++++++ 1 file changed, 7 insertions(+)
Difference in files: diff --git a/src/installer/main.c b/src/installer/main.c index 849976542..34b89ae3d 100644 --- a/src/installer/main.c +++ b/src/installer/main.c @@ -806,6 +806,13 @@ int main(int argc, char *argv[]) { goto EXIT; }
+ /* trigger udev to add disk-by-uuid entries */ + snprintf(commandstring, STRING_SIZE, "/usr/sbin/chroot /harddisk /sbin/udevadm trigger"); + if (runcommandwithstatus(commandstring, title, _("Trigger udev to redetect partitions..."), logfile)) { + errorbox(_("Error triggering udev to redetect partitions.")); + goto EXIT; + } + // Installing bootloader... statuswindow(60, 4, title, _("Installing the bootloader..."));
hooks/post-receive -- IPFire 2.x development tree