Author Topic: a "little" update change  (Read 2500 times)

Offline mac

  • Veteran
  • ****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Re: a "little" update change
« Reply #15 on: March 15, 2017, 02:04:23 pm »
We need an egg for shrugging shoulders.  Pretend we have one and insert it here.  Ha!
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline VinDSL

  • Administrator
  • Hero
  • *****
  • Posts: 5821
  • Karma: 1122
  • Team Peppermint
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: a "little" update change
« Reply #16 on: March 19, 2017, 08:46:57 pm »
I'm a bit baffled by this [...]

Next time it happens, I'll take a screenshot.

Aha !  Thar she blows !

Staring me right in the face ...  8)


Code: [Select]
<SNIP>

   case ${GRUB_DISTRIBUTOR} in
     Ubuntu|Kubuntu)
-      OS="Peppermint GNU/Linux"
+      OS="${GRUB_DISTRIBUTOR}"

<SNIP>


Code: [Select]
--- /etc/grub.d/10_linux 2017-03-19 20:26:46.442081637 -0700
+++ /etc/grub.d/10_linux.dpkg-new 2017-03-01 14:01:02.000000000 -0700
@@ -39,7 +39,7 @@
 else
   case ${GRUB_DISTRIBUTOR} in
     Ubuntu|Kubuntu)
-      OS="Peppermint GNU/Linux"
+      OS="${GRUB_DISTRIBUTOR}"
       ;;
     *)
       OS="${GRUB_DISTRIBUTOR} GNU/Linux"
@@ -177,11 +177,17 @@
  linux ${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}
 EOF
   else
-    sed "s/^/$submenu_indentation/" << EOF
- linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
+    if [ x"$GRUB_FORCE_PARTUUID" = x ]; then
+        sed "s/^/$submenu_indentation/" << EOF
+        linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
+EOF
+    else
+        sed "s/^/$submenu_indentation/" << EOF
+        linux ${rel_dirname}/${basename} root=PARTUUID=${GRUB_FORCE_PARTUUID} ro ${args}
 EOF
+    fi
   fi
-  if test -n "${initrd}" ; then
+  if test -n "${initrd}" && [ x"$GRUB_DISABLE_INITRD" != xtrue ]; then
     # TRANSLATORS: ramdisk isn't identifier. Should be translated.
     if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
       message="$(gettext_printf "Loading initial ramdisk ...")"







Offline VinDSL

  • Administrator
  • Hero
  • *****
  • Posts: 5821
  • Karma: 1122
  • Team Peppermint
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: a "little" update change
« Reply #17 on: March 19, 2017, 08:54:53 pm »
Chose 'Replace' & Rebooted.

Didn't change the OS Release on this machine ...

Code: [Select]
vindsl@Chi-You ~ $ lsb_release -i -s
Peppermint

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2947
  • Karma: 334
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Re: a "little" update change on hpG^
« Reply #18 on: March 20, 2017, 01:33:40 pm »
Quote
Replace Configuration File
'etc/grub.d/10_linux'?
The Configuration file etc/grub.d/10_linux  was modified by you (or by a script.) An updated version is shipped in this package. If you want to keep your current version say 'keep'. Do you want to replace the current file and install the new package maintainers version?
Code: [Select]
--- /etc/grub.d/10_linux 2017-03-20 13:22:51.116944818 -0700
+++ /etc/grub.d/10_linux.dpkg-new 2017-03-01 14:01:02.000000000 -0700
@@ -39,7 +39,7 @@
 else
   case ${GRUB_DISTRIBUTOR} in
     Ubuntu|Kubuntu)
-      OS="Peppermint GNU/Linux"
+      OS="${GRUB_DISTRIBUTOR}"
       ;;
     *)
       OS="${GRUB_DISTRIBUTOR} GNU/Linux"
@@ -177,11 +177,17 @@
  linux ${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}
 EOF
   else
-    sed "s/^/$submenu_indentation/" << EOF
- linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
+    if [ x"$GRUB_FORCE_PARTUUID" = x ]; then
+        sed "s/^/$submenu_indentation/" << EOF
+        linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
+EOF
+    else
+        sed "s/^/$submenu_indentation/" << EOF
+        linux ${rel_dirname}/${basename} root=PARTUUID=${GRUB_FORCE_PARTUUID} ro ${args}
 EOF
+    fi
   fi
-  if test -n "${initrd}" ; then
+  if test -n "${initrd}" && [ x"$GRUB_DISABLE_INITRD" != xtrue ]; then
     # TRANSLATORS: ramdisk isn't identifier. Should be translated.
     if [ x"$quiet_boot" = x0 ] || [ x"$type" != xsimple ]; then
       message="$(gettext_printf "Loading initial ramdisk ...")"

I'm hoping this is PCNetSpec's, since I view him as in charge of "package maintenance  ::)
spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: a "little" update change
« Reply #19 on: March 20, 2017, 04:38:28 pm »
Yeah that was mine .. but if asked again, let it replace with the newer version ;)

In truth it doesn't really matter which you choose.
« Last Edit: March 20, 2017, 04:40:16 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2947
  • Karma: 334
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Re: a "little" update change
« Reply #20 on: March 21, 2017, 02:51:33 pm »
Apparently my *package* needs further maintenance  :( for the boot screen still reads *ubuntu even though i accepted the new version... lemme

Code: [Select]
sudo update-grub

 8) package pressure released... back to peppermint yay
« Last Edit: March 21, 2017, 02:53:32 pm by spence »
spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.