* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. fa8b3ea7d3c45ab4577f8cb920944fbf63586caa
@ 2019-08-13 13:48 Arne Fitzenreiter
0 siblings, 0 replies; only message in thread
From: Arne Fitzenreiter @ 2019-08-13 13:48 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 1996 bytes --]
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(a)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(a)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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-13 13:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13 13:48 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. fa8b3ea7d3c45ab4577f8cb920944fbf63586caa Arne Fitzenreiter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox