]> Frank Brehm's Git Trees - config/bruni/etc-mint-new1.git/commitdiff
committing changes in /etc made by "/usr/bin/apt full-upgrade -y"
authorFrank Brehm <frank@brehm-online.com>
Fri, 20 Aug 2021 22:17:28 +0000 (00:17 +0200)
committerFrank Brehm <root@bruni.home.brehm-online.com>
Fri, 20 Aug 2021 22:17:28 +0000 (00:17 +0200)
Package changes:
-grub-common 2.04-1ubuntu26.12 amd64
+grub-common 2.04-1ubuntu26.13 amd64
-grub-pc 2.04-1ubuntu26.12 amd64
-grub-pc-bin 2.04-1ubuntu26.12 amd64
-grub2-common 2.04-1ubuntu26.12 amd64
+grub-pc 2.04-1ubuntu26.13 amd64
+grub-pc-bin 2.04-1ubuntu26.13 amd64
+grub2-common 2.04-1ubuntu26.13 amd64

.etckeeper
grub.d/10_linux
systemd/system/multi-user.target.wants/grub-common.service [new symlink]
systemd/system/sleep.target.wants/grub-common.service [new symlink]
systemd/system/sleep.target.wants/grub-initrd-fallback.service [new symlink]

index c93339cfc2a585c804236f2b109410132190f1e6..d31ac756bcd68785ec5c6618b69029ea519c4668 100755 (executable)
@@ -3025,6 +3025,7 @@ maybe chmod 0644 'systemd/system/postfix.service.d/override.conf'
 maybe chmod 0755 'systemd/system/printer.target.wants'
 maybe chmod 0755 'systemd/system/remote-fs.target.wants'
 maybe chmod 0755 'systemd/system/rescue.target.wants'
+maybe chmod 0755 'systemd/system/sleep.target.wants'
 maybe chmod 0644 'systemd/system/snap-core-11316.mount'
 maybe chmod 0644 'systemd/system/snap-core-11420.mount'
 maybe chmod 0644 'systemd/system/snap-pycharm\x2dcommunity-244.mount'
index 5a43f0c787b2337f2b4b9a8b07b9e10a72bffcad..a91bb2de35c9d3248c1c88bd3361bb53a3269a85 100755 (executable)
@@ -160,6 +160,12 @@ if [ "$vt_handoff" = 1 ]; then
 fi
 
 if [ x"$GRUB_FORCE_PARTUUID" != x ]; then
+    gettext_printf "GRUB_FORCE_PARTUUID is set, will attempt initrdless boot\n" >&2
+    cat << EOF
+#
+# GRUB_FORCE_PARTUUID is set, will attempt initrdless boot
+# Upon panic fallback to booting with initrd
+EOF
    echo "set partuuid=${GRUB_FORCE_PARTUUID}"
 fi
 
@@ -245,6 +251,8 @@ EOF
         linux_root_device_thisversion="PARTUUID=${GRUB_FORCE_PARTUUID}"
     fi
     message="$(gettext_printf "Loading initial ramdisk ...")"
+    initrdlessfail_msg="$(gettext_printf "GRUB_FORCE_PARTUUID set, initrdless boot failed. Attempting with initrd.")"
+    initrdlesstry_msg="$(gettext_printf "GRUB_FORCE_PARTUUID set, attempting initrdless boot.")"
     initrd_path=
     for i in ${initrd}; do
         initrd_path="${initrd_path} ${rel_dirname}/${i}"
@@ -256,6 +264,7 @@ EOF
     if test -n "${initrd}" && [ x"$GRUB_FORCE_PARTUUID" != x ]; then
         sed "s/^/$submenu_indentation/" << EOF
        if [ "\${initrdfail}" = 1 ]; then
+         echo  '$(echo "$initrdlessfail_msg" | grub_quote)'
          linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
 EOF
         if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
@@ -266,6 +275,7 @@ EOF
         sed "s/^/$submenu_indentation/" << EOF
          initrd        $(echo $initrd_path)
        else
+         echo  '$(echo "$initrdlesstry_msg" | grub_quote)'
          linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args} panic=-1
 EOF
         if [ -n "$initrd_path_only_early" ]; then
diff --git a/systemd/system/multi-user.target.wants/grub-common.service b/systemd/system/multi-user.target.wants/grub-common.service
new file mode 120000 (symlink)
index 0000000..c0ca745
--- /dev/null
@@ -0,0 +1 @@
+/lib/systemd/system/grub-common.service
\ No newline at end of file
diff --git a/systemd/system/sleep.target.wants/grub-common.service b/systemd/system/sleep.target.wants/grub-common.service
new file mode 120000 (symlink)
index 0000000..c0ca745
--- /dev/null
@@ -0,0 +1 @@
+/lib/systemd/system/grub-common.service
\ No newline at end of file
diff --git a/systemd/system/sleep.target.wants/grub-initrd-fallback.service b/systemd/system/sleep.target.wants/grub-initrd-fallback.service
new file mode 120000 (symlink)
index 0000000..6074eaa
--- /dev/null
@@ -0,0 +1 @@
+/lib/systemd/system/grub-initrd-fallback.service
\ No newline at end of file