From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Fitzenreiter To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. fa8b3ea7d3c45ab4577f8cb920944fbf63586caa Date: Tue, 13 Aug 2019 14:48:31 +0100 Message-ID: <20190813134832.21EA260AEB@people01.haj.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5133082022332377716==" List-Id: --===============5133082022332377716== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Date: Tue Aug 13 15:21:02 2019 +0200 installer: fix grub.conf root uuid entry =20 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. =20 fixes: #12116 =20 Signed-off-by: Arne Fitzenreiter ----------------------------------------------------------------------- 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; } =20 + /* trigger udev to add disk-by-uuid entries */ + snprintf(commandstring, STRING_SIZE, "/usr/sbin/chroot /harddisk /sbin/udev= adm 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...")); =20 hooks/post-receive -- IPFire 2.x development tree --===============5133082022332377716==--