enable ecne and noble
authorIan Kelling <iank@fsf.org>
Fri, 7 Jun 2024 04:46:48 +0000 (00:46 -0400)
committerIan Kelling <iank@fsf.org>
Fri, 7 Jun 2024 04:46:48 +0000 (00:46 -0400)
14 files changed:
fai/config/basefiles/mk-basefile
fai/config/class/50-host-classes
fai/config/files/etc/apt/preferences.d/ecne-noble/ECNE [new file with mode: 0644]
fai/config/files/etc/apt/preferences.d/noble-firmware/NOBLE_FIRMWARE [new file with mode: 0644]
fai/config/files/etc/apt/sources.list.d/aaa-ecne.list/ECNE [new file with mode: 0644]
fai/config/files/etc/apt/sources.list.d/noble.list/ECNE_EXTRA [new symlink]
fai/config/files/etc/apt/sources.list.d/noble.list/JAMMY_EXTRA [new symlink]
fai/config/files/etc/apt/sources.list.d/noble.list/NOBLE [new file with mode: 0644]
fai/config/hooks/partition.DEFAULT
fai/config/package_config/ARAMO.gpg [changed from file to symlink]
fai/config/package_config/ECNE.gpg [new file with mode: 0644]
fai/config/package_config/ECNE_EXTRA.gpg [new symlink]
fai/config/scripts/LAST/50-misc
mymk-basefile

index d449c604f4268c132360da66eb16abd17f9f2df1..91c4ea376278794350cc145be0126f6381dbbfac 100755 (executable)
@@ -48,6 +48,7 @@ EXCLUDE_NABIA=udhcpc,dibbler-client,info
 EXCLUDE_JAMMY=udhcpc,dibbler-client,info
 EXCLUDE_ARAMO=udhcpc,dibbler-client,info
 EXCLUDE_NOBLE=udhcpc,dibbler-client,info
+EXCLUDE_ECNE=udhcpc,dibbler-client,info
 
 # here you can add packages, that are needed very early
 INCLUDE_DEBIAN=
@@ -269,6 +270,7 @@ prtdists() {
                  JAMMY64
                  ARAMO64
                  NOBLE64
+                 ECNE64
     SQUEEZE32    SQUEEZE64
     WHEEZY32     WHEEZY64
     JESSIE32     JESSIE64
@@ -358,7 +360,7 @@ case "$target" in
     SLC6_32) slc i386 6 ;;
     SLC6_64) slc amd64 6 ;;
     SLC7_64) slc amd64 7 ;;
-    BELENOS*|FLIDAS*|ETIONA*|NABIA*|ARAMO*)
+    BELENOS*|FLIDAS*|ETIONA*|NABIA*|ARAMO*|ECNE*)
         debgeneric $target $MIRROR_TRISQUEL ;;
     TRUSTY*|XENIAL*|BIONIC*|FOCAL*|JAMMY*|NOBLE*)
         debgeneric $target $MIRROR_UBUNTU ;;
index 600fd1add4afb35979d867b8957c1c059672482e..25567e5f3cf78156d0ce92f71ef986cde2a722c6 100755 (executable)
@@ -31,14 +31,14 @@ echo FAIBASE STANDARD DEBIAN
 # things installed, to speed up installation.
 #
 # STRETCH64, BUSTER64, BULLSEYE64, BOOKWORM64
-# FLIDAS64, FLIDAS64BIG, ETIONA64, NABIA64, ARAMO64
+# FLIDAS64, FLIDAS64BIG, ETIONA64, NABIA64, ARAMO64, ECNE64
 # XENIAL64, BIONIC64, FOCAL64,
 #
 # The distro subvol name, we can add as many of these as we want:
 # VOL_TESTING, VOL_STRETCH, VOL_BUSTER, VOL_BULLSEYE, VOL_BOOKWORM
-# VOL_FLIDAS, VOL_ETIONA, VOL_NABIA, VOL_ARAMO
-# VOL_XENIAL, VOL_BIONIC VOL_FOCAL
-# VOL_BUSTER_BOOTSTRAP.
+# VOL_FLIDAS, VOL_ETIONA, VOL_NABIA, VOL_ARAMO, VOL_ECNE
+# VOL_XENIAL, VOL_BIONIC, VOL_FOCAL, VOL_JAMMY, VOL_NOBLE
+# VOL_BULLSEYE_BOOTSTRAP, VOL_BOOKWORM_BOOTSTRAP.
 # Using VOL_BUSTER_BOOTSTRAP sets up the install to act like a pxe rom if
 # grub sets a specific var.
 #
@@ -48,7 +48,7 @@ echo FAIBASE STANDARD DEBIAN
 # BULLSEYE_FREE, BULLSEYE_NONFREE
 # BOOKWORM_FREE, BOOKWORM_NONFREE
 # TESTING_FREE, TESTING_NONFREE,
-# XENIAL_FREE, BIONIC, FOCAL, FLIDAS, ETIONA, NABIA, ARAMO.
+# XENIAL_FREE, BIONIC, FOCAL, FLIDAS, ETIONA, NABIA, ARAMO, ECNE.
 #
 # It's all a little redundant in some cases, but it keeps things
 # simpler.
@@ -135,6 +135,8 @@ exit 0
 #echo FSF
 if [[ ! -e /a/bin/fai/fai-wrapper || $FAI_ACTION == dirinstall ]]; then
   case $HOSTNAME in
+    # bullseye based minimal recovery / bootstraping os:
+    _) echo BOOKWORM64 VOL_BOOKWORM_BOOTSTRAP BOOKWORM_FREE ;;
     # bullseye based minimal recovery / bootstraping os:
     _) echo BULLSEYE64 VOL_BULLSEYE_BOOTSTRAP BULLSEYE_FREE ;;
     # flidas
@@ -142,9 +144,11 @@ if [[ ! -e /a/bin/fai/fai-wrapper || $FAI_ACTION == dirinstall ]]; then
     # etiona
     _) echo UBUNTU ETIONA64 VOL_ETIONA ETIONA ;;
     # nabia
-    _) echo UBUNTU NABIA64 VOL_NABIA NABIA NABIA_EXTRA  ;;
+    _) echo UBUNTU NABIA64 VOL_NABIA NABIA ;;
     # aramo
-    _) echo UBUNTU ARAMO64 VOL_ARAMO ARAMO ARAMO_EXTRA  ;;
+    _) echo UBUNTU ARAMO64 VOL_ARAMO ARAMO ARAMO_EXTRA JAMMY_FIRMWARE ;;
+    # ecne
+    _) echo UBUNTU ECNE64 VOL_ECNE ECNE ECNE_EXTRA NOBLE_FIRMWARE ;;
     # stretch
     _) echo STRETCH64 VOL_STRETCH STRETCH_NONFREE ;;
     # buster
@@ -163,6 +167,8 @@ if [[ ! -e /a/bin/fai/fai-wrapper || $FAI_ACTION == dirinstall ]]; then
     _) echo UBUNTU FOCAL64 VOL_FOCAL FOCAL ;;
     # jammy
     _) echo UBUNTU JAMMY64 VOL_JAMMY JAMMY ;;
+    # NOBLE
+    _) echo UBUNTU NOBLE64 VOL_NOBLE NOBLE ;;
   esac
 fi
 ###### end Template for 51-multi-boot ######
diff --git a/fai/config/files/etc/apt/preferences.d/ecne-noble/ECNE b/fai/config/files/etc/apt/preferences.d/ecne-noble/ECNE
new file mode 100644 (file)
index 0000000..4e12926
--- /dev/null
@@ -0,0 +1,3 @@
+Package: *
+Pin: release n=noble,o=Ubuntu
+Pin-Priority: -100
diff --git a/fai/config/files/etc/apt/preferences.d/noble-firmware/NOBLE_FIRMWARE b/fai/config/files/etc/apt/preferences.d/noble-firmware/NOBLE_FIRMWARE
new file mode 100644 (file)
index 0000000..f26de6b
--- /dev/null
@@ -0,0 +1,3 @@
+Package: linux-image-generic linux-firmware intel-microcode amd64-microcode
+Pin: release n=noble,o=Ubuntu
+Pin-Priority: 1001
diff --git a/fai/config/files/etc/apt/sources.list.d/aaa-ecne.list/ECNE b/fai/config/files/etc/apt/sources.list.d/aaa-ecne.list/ECNE
new file mode 100644 (file)
index 0000000..7313dac
--- /dev/null
@@ -0,0 +1,11 @@
+deb http://archive.trisquel.org/trisquel/ ecne main
+deb-src http://archive.trisquel.org/trisquel/ ecne main
+
+deb http://archive.trisquel.org/trisquel/ ecne-updates main
+deb-src http://archive.trisquel.org/trisquel/ ecne-updates main
+
+deb http://archive.trisquel.info/trisquel/ ecne-security main
+deb-src http://archive.trisquel.info/trisquel/ ecne-security main
+
+deb http://archive.trisquel.org/trisquel/ ecne-backports main
+deb-src http://archive.trisquel.org/trisquel/ ecne-backports main
diff --git a/fai/config/files/etc/apt/sources.list.d/noble.list/ECNE_EXTRA b/fai/config/files/etc/apt/sources.list.d/noble.list/ECNE_EXTRA
new file mode 120000 (symlink)
index 0000000..fdba700
--- /dev/null
@@ -0,0 +1 @@
+NOBLE
\ No newline at end of file
diff --git a/fai/config/files/etc/apt/sources.list.d/noble.list/JAMMY_EXTRA b/fai/config/files/etc/apt/sources.list.d/noble.list/JAMMY_EXTRA
new file mode 120000 (symlink)
index 0000000..fdba700
--- /dev/null
@@ -0,0 +1 @@
+NOBLE
\ No newline at end of file
diff --git a/fai/config/files/etc/apt/sources.list.d/noble.list/NOBLE b/fai/config/files/etc/apt/sources.list.d/noble.list/NOBLE
new file mode 100644 (file)
index 0000000..cda7d9c
--- /dev/null
@@ -0,0 +1,14 @@
+# multiverse needed for libfdk-aac1, which is actually free
+# https://www.gnu.org/licenses/license-list.html#fdk
+
+###### Ubuntu Main Repos
+deb http://archive.ubuntu.com/ubuntu/ noble main universe multiverse
+deb-src http://archive.ubuntu.com/ubuntu/ noble main universe multiverse
+
+###### Ubuntu Update Repos
+deb http://archive.ubuntu.com/ubuntu/ noble-security main universe multiverse
+deb http://archive.ubuntu.com/ubuntu/ noble-updates main universe multiverse
+deb http://archive.ubuntu.com/ubuntu/ noble-backports main universe
+deb-src http://archive.ubuntu.com/ubuntu/ noble-security main universe multiverse
+deb-src http://archive.ubuntu.com/ubuntu/ noble-updates main universe multiverse
+deb-src http://archive.ubuntu.com/ubuntu/ noble-backports main universe
index 530a34da75b807f8ebb0897cd341e2b9c6b49fbb..36f858ca2350ca72969fb9151bfb8fd0953a68e9 100755 (executable)
@@ -714,6 +714,8 @@ if [[ ! $DISTRO ]]; then
     DISTRO=ubuntufocal
   elif ifclass VOL_JAMMY; then
     DISTRO=ubuntujammy
+  elif ifclass VOL_NOBLE; then
+    DISTRO=ubuntunoble
   elif ifclass VOL_FLIDAS; then
     DISTRO=trisquelflidas
   elif ifclass VOL_ETIONA; then
@@ -722,6 +724,8 @@ if [[ ! $DISTRO ]]; then
     DISTRO=trisquelnabia
   elif ifclass VOL_ARAMO; then
     DISTRO=trisquelaramo
+  elif ifclass VOL_ECNE; then
+    DISTRO=trisquelecne
   elif $mkroot2 || $mkroot2tab; then
     :
   else
deleted file mode 100644 (file)
index 58057f6c8594d41c77bcbf17af40e5eca896e804..0000000000000000000000000000000000000000
Binary files a/fai/config/package_config/ARAMO.gpg and /dev/null differ
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..4c6b790514e33ef0b3589b625aec7ff3f0227e81
--- /dev/null
@@ -0,0 +1 @@
+ECNE.gpg
\ No newline at end of file
diff --git a/fai/config/package_config/ECNE.gpg b/fai/config/package_config/ECNE.gpg
new file mode 100644 (file)
index 0000000..58057f6
Binary files /dev/null and b/fai/config/package_config/ECNE.gpg differ
diff --git a/fai/config/package_config/ECNE_EXTRA.gpg b/fai/config/package_config/ECNE_EXTRA.gpg
new file mode 120000 (symlink)
index 0000000..ce7b110
--- /dev/null
@@ -0,0 +1 @@
+UBUNTU_UP.gpg
\ No newline at end of file
index e7b9e6d8b5baf71764d40a0bf7d3996d23a4dd49..c81dbe7dc08edddc2ae942f4968dbedcd1034a85 100755 (executable)
@@ -83,7 +83,7 @@ setrel() {
        return
     fi
 
-    dists="jessie stretch buster bullseye bookworm trixie forky noble jammy focal bionic xenial trusty aramo nabia etiona"
+    dists="jessie stretch buster bullseye bookworm trixie forky noble jammy focal bionic xenial trusty ecne aramo nabia etiona"
     for d in $dists; do
        if grep -iq $d $target/etc/os-release; then
            release=$d
index 1f3266504eaac2a806dc26ca1f625b67fd5739eb..03ef01e4a5cdbd69723656e7aff403eb32f92ec0 100755 (executable)
@@ -41,6 +41,7 @@ Args I've used before:
 -z STRETCH64
 -z XENIAL64
 
+-z ECNE64
 -z ARAMO64
 -z NABIA64
 -z ETIONA64