@@ -6,8 +6,11 @@ if [ "$1" = configure ] && [ -e /boot/grub/grub.cfg ] && which 
update-grub >/dev
     update-grub || true
 fi
 
-if [ -e /dev/tpmrm0 ]; then
-    chmod 666 /dev/tpmrm0
+system_compat="$(cat /sys/firmware/devicetree/base/compatible | tr '\0' ' ')"
+
+if [[ "$system_compat" =~ "tegra234" ]]; then
+    # on Orin hardware, disable do-release-upgrade
+    sed -e "s/^Prompt\s*=\(normal\|lts\).*/#Orin is blocked by lack of support 
by nvidia drivers yet\nPrompt=never/" -i /etc/update-manager/release-upgrades


I am going to re-iterate Chris's second point from comment #18. The 
ubuntu-release-upgrader code itself is where decisions like this are 
implemented, see e.g. 
https://git.launchpad.net/ubuntu-release-upgrader/tree/DistUpgrade/DistUpgradeQuirks.py?h=ubuntu/noble#n2003.

Rejecting based on this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2127100

Title:
  [SRU] Fix kernel cmdline for Thor systems, drop incorrect chmod, block
  jammy do-release-upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-tegra-defaults/+bug/2127100/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to