Purge bionic, impish, hirsute, stretch (#3600)

* Purge bionic, impish, hirsute, stretch

- up jammy to supported (will be soon anyway)

* Change recommended build env to Jammy
This commit is contained in:
Igor Pečovnik
2022-04-05 16:19:51 +02:00
committed by GitHub
parent 7b6d9f162d
commit db408b61c4
83 changed files with 10 additions and 707 deletions

View File

@@ -38,7 +38,7 @@ build framework</h3>
## What do you need to get started?
- x64 / aarch64 machine with at least 2GB of memory and ~35GB of disk space for a VM, container or native OS,
- Ubuntu Hirsute 21.04 x64 / aarch64 for native building or any [Docker](https://docs.armbian.com/Developer-Guide_Building-with-Docker/) capable x64 / aarch64 Linux for containerised,
- Ubuntu Jammy 22.04 x64 / aarch64 for native building or any [Docker](https://docs.armbian.com/Developer-Guide_Building-with-Docker/) capable x64 / aarch64 Linux for containerised,
- superuser rights (configured sudo or root access).
<p align=right><a href=#table-of-contents>⇧</a></p>

View File

@@ -1 +0,0 @@
focal

View File

@@ -1 +0,0 @@
focal

View File

@@ -1 +0,0 @@
../focal/debootstrap

View File

@@ -1 +0,0 @@
../../focal/main/config_cli_standard

View File

@@ -1 +0,0 @@
../../focal/main/config_desktop

View File

@@ -1 +0,0 @@
../../focal/main/packages

View File

@@ -1,18 +0,0 @@
cracklib-runtime
curl
htop
i2c-tools
jq
libcrack2
lsof
mc
mmc-utils
nano
net-tools
netplan.io
network-manager
network-manager-openvpn
resolvconf
sysstat
wget
wireless-tools

View File

@@ -1 +0,0 @@
../../focal/appgroups/chat

View File

@@ -1,2 +0,0 @@
emacs
vim

View File

@@ -1 +0,0 @@
../../focal/appgroups/email

View File

@@ -1 +0,0 @@
../../focal/appgroups/internet

View File

@@ -1,2 +0,0 @@
gimp
mpv

View File

@@ -1 +0,0 @@
../../focal/appgroups/office

View File

@@ -1 +0,0 @@
../../focal/appgroups/remote_desktop

View File

@@ -1 +0,0 @@
../../../focal/environments/xfce/appgroups

View File

@@ -1 +0,0 @@
../../../focal/environments/xfce/armbian

View File

@@ -1,168 +0,0 @@
anacron
apport-gtk
blueman
bluez
bluez-cups
bluez-tools
brltty
brltty-x11
caffeine
cifs-utils
cups
cups-bsd
cups-client
cups-filters
dbus-x11
dictionaries-common
dmz-cursor-theme
doc-base
evince
evince-common
fontconfig
fontconfig-config
fonts-arphic-ukai
fonts-arphic-uming
fonts-dejavu-core
fonts-freefont-ttf
fonts-guru
fonts-guru-extra
fonts-kacst
fonts-kacst-one
fonts-khmeros-core
fonts-liberation
fonts-nanum
fonts-opensymbol
fonts-stix
fonts-symbola
fonts-ubuntu-font-family-console
foomatic-db-compressed-ppds
gdebi
ghostscript-x
gir1.2-appindicator3-0.1
gnome-font-viewer
gnome-screenshot
gnome-user-docs-de
gnome-user-docs-es
gnome-user-docs-it
gnome-user-docs-pt
gnome-user-docs-ru
gnome-user-docs-sl
gstreamer1.0-packagekit
gstreamer1.0-plugins-base-apps
gstreamer1.0-pulseaudio
gtk2-engines
gtk2-engines-murrine
gtk2-engines-pixbuf
gvfs-backends
hplip
hunspell-en-us
indicator-printers
inputattach
kerneloops
keyutils
language-pack-gnome-de
language-pack-gnome-en
language-pack-gnome-es
language-pack-gnome-fr
language-pack-gnome-it
language-pack-gnome-pt
language-pack-gnome-ru
language-pack-gnome-sl
laptop-detect
libappindicator3-1
libatk-adaptor
libfont-afm-perl
libfontconfig1
libfontembed1
libfontenc1
libgail-common
libgl1-mesa-dri
libgsettings-qt1
libgtk2.0-bin
libnotify-bin
libpam-gnome-keyring
libproxy1-plugin-gsettings
libproxy1-plugin-networkmanager
libu2f-udev
libwmf0.2-7-gtk
libxcursor1
lightdm
lightdm-settings
lxtask
mesa-utils
mousepad
mousetweaks
network-manager-gnome
network-manager-l2tp
network-manager-openconnect
network-manager-openvpn
network-manager-pptp
network-manager-ssh
network-manager-vpnc
numix-gtk-theme
numix-icon-theme
openprinting-ppds
orca
p7zip-full
pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
pinta
policykit-1
policykit-desktop-privileges
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth
redshift
slick-greeter
smbclient
software-properties-gtk
spice-vdagent
system-config-printer
system-config-printer-common
terminator
thunar-volman
ttf-ubuntu-font-family
ubuntu-drivers-common
update-inetd
update-manager
update-manager-core
update-notifier
update-notifier-common
viewnior
wamerican
wbrazilian
wbritish
wfrench
witalian
wportuguese
wspanish
wswiss
x11-apps
x11-xserver-utils
xarchiver
xbacklight
xcursor-themes
xdg-user-dirs
xdg-user-dirs-gtk
xfce4
xfce4-notifyd
xfce4-screenshooter
xfce4-terminal
xfonts-100dpi
xfonts-75dpi
xfonts-base
xfonts-encodings
xfonts-scalable
xfonts-utils
xinit
xorg-docs-core
xscreensaver
xserver-xorg
xserver-xorg-video-fbdev
xterm
xtermcontrol
xtermset
zip

View File

@@ -1 +0,0 @@
../../../../focal/environments/xfce/config_base/packages.uninstall

View File

@@ -1 +0,0 @@
../../../focal/environments/xfce/debian

View File

@@ -1 +0,0 @@
../../../focal/environments/xfce/support

View File

@@ -1 +0,0 @@
../focal/appgroups

View File

@@ -1 +0,0 @@
../../focal/environments/budgie

View File

@@ -1 +0,0 @@
../../focal/environments/cinnamon

View File

@@ -1 +0,0 @@
../../../focal/environments/gnome/armbian

View File

@@ -1,216 +0,0 @@
alsa-base
anacron
at-spi2-core
bubblewrap
cups
dbus-x11
dictionaries-common
dmz-cursor-theme
evolution-data-server
evolution-data-server-common
fonts-freefont-ttf
fonts-urw-base35
foomatic-db-compressed-ppds
gconf2
gcr
gdebi
gdm3
genisoimage
geoclue-2.0
ghostscript
ghostscript-x
gir1.2-accountsservice-1.0
gir1.2-atspi-2.0
gir1.2-gck-1
gir1.2-gcr-3
gir1.2-gdesktopenums-3.0
gir1.2-gdm-1.0
gir1.2-geoclue-2.0
gir1.2-gnomebluetooth-1.0
gir1.2-gnomedesktop-3.0
gir1.2-goa-1.0
gir1.2-graphene-1.0
gir1.2-gweather-3.0
gir1.2-ibus-1.0
gir1.2-json-1.0
gir1.2-mutter-7
gir1.2-nm-1.0
gir1.2-nma-1.0
gir1.2-polkit-1.0
gir1.2-rsvg-2.0
gir1.2-snapd-1
gir1.2-soup-2.4
gir1.2-upowerglib-1.0
gjs
gnome-control-center
gnome-desktop3-data
gnome-keyring
gnome-menus
gnome-session
gnome-session-bin
gnome-session-common
gnome-settings-daemon
gnome-settings-daemon-common
gnome-shell
gnome-shell-common
gnome-shell-extension-appindicator
gnome-shell-extension-desktop-icons
gnome-shell-extension-trash
gvfs-backends
hunspell-en-us
inputattach
libaccountsservice0
libasound2-plugins
libaspell15
libatk-adaptor
libcairo-gobject-perl
libcairo-perl
libcamel-1.2-62
libcue2
libdee-1.0-4
libebackend-1.2-10
libebook-1.2-20
libebook-contacts-1.2-3
libecal-2.0-1
libedata-book-1.2-26
libedata-cal-2.0-1
libedataserver-1.2-26
libedataserverui-1.2-3
libenchant-2-2
libexempi8
libexiv2-27
libextutils-depends-perl
libextutils-pkgconfig-perl
libfontenc1
libgck-1-0
libgcr-base-3-1
libgcr-ui-3-1
libgdata22
libgdata-common
libgdm1
libgeoclue-2-0
libgeocode-glib0
libgexiv2-2
libgjs0g
libglib-object-introspection-perl
libglib-perl
libglu1-mesa
libgnome-autoar-0-0
libgnome-bluetooth13
libgnome-desktop-3-19
libgoa-1.0-0b
libgoa-1.0-common
libgraphene-1.0-0
libgs9
libgs9-common
libgsf-1-114
libgsf-1-common
libgtk3-perl
libgweather-3-16
libgweather-common
libgxps2
libibus-1.0-5
libical3
libidn11
libijs-0.35
libimobiledevice6
libjavascriptcoregtk-4.0-18
libjbig2dec0
libmutter-7-0
libnautilus-extension1a
libnma0
libnotify-bin
libpaper1
libphonenumber8
libplist3
libpoppler-glib8
libprotobuf23
libpulsedsp
libsasl2-modules
libspeexdsp1
libtext-iconv-perl
libtotem-plparser18
libtotem-plparser-common
libtracker-control-2.0-0
libtracker-miner-2.0-0
libtracker-sparql-2.0-0
libu2f-udev
libunity9
libunity-protocol-private0
libunity-scopes-json-def-desktop
libunwind8
libupower-glib3
libusbmuxd6
libwebkit2gtk-4.0-37
libxaw7
libxfont2
libxkbfile1
libxmu6
libxmuu1
libxtst6
libxxf86dga1
libyelp0
linux-sound-base
mutter
mutter-common
nautilus
nautilus-data
openprinting-ppds
p11-kit
p11-kit-modules
pavucontrol
pinentry-gnome3
poppler-data
printer-driver-pnm2ppa
pulseaudio
pulseaudio-module-bluetooth
pulseaudio-utils
python3-click
python3-colorama
python3-dateutil
python3-debconf
python3-debian
python3-distupgrade
python3-update-manager
python3-xkit
python3-yaml
software-properties-gtk
spice-vdagent
system-config-printer-gnome
terminator
tracker
tracker-extract
tracker-miner-fs
ubuntu-business-defaults
ubuntu-desktop-minimal
ubuntu-session
ubuntu-settings
update-manager
update-manager-core
update-notifier
update-notifier-common
upower
x11-apps
x11-session-utils
x11-utils
x11-xkb-utils
x11-xserver-utils
xarchiver
xdg-dbus-proxy
xdg-desktop-portal
xdg-user-dirs
xdg-user-dirs-gtk
xfonts-base
xinit
xinput
xorg
xorg-docs-core
xserver-common
xserver-xorg
xserver-xorg-video-fbdev
xwayland
yaru-theme-gnome-shell
yelp
yelp-xsl
zenity
zenity-common

View File

@@ -1 +0,0 @@
../../../focal/environments/gnome/debian

View File

@@ -1 +0,0 @@
../../../focal/environments/gnome/only_for

View File

@@ -1 +0,0 @@
../../../focal/environments/gnome/support

View File

@@ -1 +0,0 @@
../../focal/environments/i3-wm

View File

@@ -1 +0,0 @@
../../focal/environments/kde-plasma

View File

@@ -1 +0,0 @@
../../focal/environments/mate

View File

@@ -1 +0,0 @@
../../focal/environments/xfce

View File

@@ -1 +0,0 @@
../../focal/environments/xmonad

View File

@@ -1 +0,0 @@
../../../focal/appgroups/3dsupport/packages

View File

@@ -1 +0,0 @@
deb [signed-by=/usr/share/keyrings/oibaf.gpg] http://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/ impish main

View File

@@ -1 +0,0 @@
../../../focal/appgroups/browsers/armbian

View File

@@ -1 +0,0 @@
../../../focal/appgroups/browsers/debian

View File

@@ -1 +0,0 @@
../../../focal/appgroups/browsers/packages

View File

@@ -1 +0,0 @@
deb [signed-by=/usr/share/keyrings/chromium-browser.gpg] http://ppa.launchpadcontent.net/saiarcot895/chromium-dev/ubuntu/ impish main

View File

@@ -1 +0,0 @@
deb [signed-by=/usr/share/keyrings/mozilla-team.gpg] http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/ impish main

View File

@@ -1 +0,0 @@
../../focal/appgroups/chat

View File

@@ -1 +0,0 @@
../../focal/appgroups/desktop_tools

View File

@@ -1 +0,0 @@
../../focal/appgroups/editors

View File

@@ -1 +0,0 @@
../../focal/appgroups/email

View File

@@ -1 +0,0 @@
../../focal/appgroups/internet

View File

@@ -1 +0,0 @@
../../focal/appgroups/multimedia

View File

@@ -1 +0,0 @@
../../focal/appgroups/office

View File

@@ -1 +0,0 @@
../../focal/appgroups/programming

View File

@@ -1 +0,0 @@
../../focal/appgroups/remote_desktop

View File

@@ -1 +0,0 @@
../../../../focal/environments/budgie/armbian/create_desktop_package.sh

View File

@@ -1,199 +0,0 @@
anacron
apport-gtk
blueman
bluez
bluez-cups
bluez-tools
brltty
brltty-x11
budgie-app-launcher-applet
budgie-applications-menu-applet
budgie-appmenu-applet
budgie-brightness-controller-applet
budgie-clockworks-applet
budgie-countdown-applet
budgie-desktop
budgie-desktop-doc
budgie-desktop-environment
budgie-dropby-applet
budgie-extras-common
budgie-extras-daemon
budgie-fuzzyclock-applet
budgie-hotcorners-applet
budgie-indicator-applet
budgie-kangaroo-applet
budgie-keyboard-autoswitch-applet
budgie-network-manager-applet
budgie-previews
budgie-previews-applet
budgie-quickchar
budgie-quicknote-applet
budgie-recentlyused-applet
budgie-rotation-lock-applet
budgie-showtime-applet
budgie-sntray-plugin
budgie-takeabreak-applet
budgie-trash-applet
budgie-visualspace-applet
budgie-wallpapers-focal
budgie-wallstreet
budgie-weathershow-applet
budgie-welcome
budgie-window-mover-applet
budgie-window-shuffler
budgie-workspace-overview-applet
budgie-workspace-stopwatch-applet
caffeine
cifs-utils
cups
cups-bsd
cups-client
cups-filters
dbus-x11
dictionaries-common
doc-base
evince
evince-common
fontconfig
fontconfig-config
fonts-noto-mono
fonts-ubuntu-font-family-console
foomatic-db-compressed-ppds
gdebi
ghostscript-x
gir1.2-appindicator3-0.1
gnome-orca
gnome-screenshot
gnome-tweaks
gnome-user-docs-de
gnome-user-docs-es
gnome-user-docs-it
gnome-user-docs-pt
gnome-user-docs-ru
gnome-user-docs-sl
gstreamer1.0-packagekit
gstreamer1.0-plugins-base-apps
gstreamer1.0-pulseaudio
gtk2-engines
gtk2-engines-murrine
gtk2-engines-pixbuf
gvfs-backends
hplip
hunspell-en-us
indicator-printers
inputattach
kerneloops
keyutils
language-pack-gnome-de
language-pack-gnome-en
language-pack-gnome-es
language-pack-gnome-fr
language-pack-gnome-it
language-pack-gnome-pt
language-pack-gnome-ru
language-pack-gnome-sl
laptop-detect
libappindicator3-1
libatk-adaptor
libcvc0
libfont-afm-perl
libfontconfig1
libfontembed1
libfontenc1
libgail-common
libgl1-mesa-dri
libgsettings-qt1
libgtk2.0-bin
libnotify-bin
libplank1
libplank-common
libproxy1-plugin-gsettings
libproxy1-plugin-networkmanager
libu2f-udev
libwmf0.2-7-gtk
libxcursor1
lightdm
lightdm-settings
mesa-utils
mousepad
mousetweaks
nemo
nemo-data
nemo-fileroller
nemo-font-manager
nemo-gtkhash
network-manager-config-connectivity-ubuntu
network-manager-l2tp
network-manager-openconnect
network-manager-openvpn
network-manager-pptp
network-manager-ssh
network-manager-vpnc
numix-blue-gtk-theme
numix-gtk-theme
numix-icon-theme
numix-icon-theme-circle
openprinting-ppds
p7zip-full
pamix
pasystray
pavucontrol
pavucontrol-qt
pavumeter
plank
policykit-1
policykit-1-gnome
policykit-desktop-privileges
printer-driver-all
profile-sync-daemon
pulseaudio-module-bluetooth
redshift
samba
slick-greeter
smbclient
software-properties-gtk
spice-vdagent
system-config-printer
system-config-printer-common
terminator
tracker-extract
tracker-miner-fs
ttf-ubuntu-font-family
ubuntu-drivers-common
update-inetd
update-manager
update-manager-core
update-notifier
update-notifier-common
viewnior
wamerican
wbrazilian
wbritish
wfrench
witalian
wportuguese
wspanish
wswiss
x11-apps
x11-xserver-utils
xarchiver
xbacklight
xcursor-themes
xdg-user-dirs
xdg-user-dirs-gtk
xfonts-100dpi
xfonts-75dpi
xfonts-base
xfonts-encodings
xfonts-scalable
xfonts-utils
xinit
xorg-docs-core
xscreensaver
xserver-xorg
xserver-xorg-video-fbdev
xterm
xtermcontrol
xtermset
xwallpaper
zip

View File

@@ -1 +0,0 @@
../../../../focal/environments/budgie/config_base/packages.uninstall

View File

@@ -1 +0,0 @@
../../../../focal/environments/budgie/debian/postinst

View File

@@ -1 +0,0 @@
arm64, amd64

View File

@@ -1 +0,0 @@
supported

View File

@@ -1 +0,0 @@
../../focal/environments/cinnamon

View File

@@ -1 +0,0 @@
../../hirsute/environments/gnome

View File

@@ -1 +0,0 @@
../../focal/environments/i3-wm

View File

@@ -1 +0,0 @@
../../focal/environments/kde-plasma

View File

@@ -1 +0,0 @@
../../focal/environments/mate

View File

@@ -1 +0,0 @@
../../focal/environments/xfce

View File

@@ -1 +0,0 @@
../../focal/environments/xmonad

View File

@@ -1 +0,0 @@
Ubuntu Bionic 18.04 LTS

View File

@@ -1 +0,0 @@
csc

View File

@@ -1 +0,0 @@
Ubuntu Hirsute 21.04

View File

@@ -1 +0,0 @@
supported

View File

@@ -1 +0,0 @@
Ubuntu Impish 21.10

View File

@@ -1 +0,0 @@
csc

View File

@@ -1 +1 @@
csc
supported

View File

@@ -1 +0,0 @@
Debian 9 Stretch

View File

@@ -1 +0,0 @@
eos

View File

@@ -1 +0,0 @@
Ubuntu Xenial 16.04 LTS

View File

@@ -1 +0,0 @@
eos

View File

@@ -32,18 +32,12 @@ create_chroot()
qemu_binary['arm64']='qemu-aarch64-static'
apt_mirror['buster']="$DEBIAN_MIRROR"
apt_mirror['bullseye']="$DEBIAN_MIRROR"
apt_mirror['bionic']="$UBUNTU_MIRROR"
apt_mirror['focal']="$UBUNTU_MIRROR"
apt_mirror['hirsute']="$UBUNTU_MIRROR"
apt_mirror['impish']="$UBUNTU_MIRROR"
apt_mirror['jammy']="$UBUNTU_MIRROR"
components['buster']='main,contrib'
components['bullseye']='main,contrib'
components['sid']='main,contrib'
components['bionic']='main,universe,multiverse'
components['focal']='main,universe,multiverse'
components['hirsute']='main,universe,multiverse'
components['impish']='main,universe,multiverse'
components['jammy']='main,universe,multiverse'
display_alert "Creating build chroot" "$release/$arch" "info"
local includes="ccache,locales,git,ca-certificates,devscripts,libfile-fcntllock-perl,debhelper,rsync,python3,distcc,apt-utils"

View File

@@ -406,12 +406,6 @@ SDCARD="${SRC}/.tmp/rootfs-${MOUNT_UUID}"
MOUNT="${SRC}/.tmp/mount-${MOUNT_UUID}"
DESTIMG="${SRC}/.tmp/image-${MOUNT_UUID}"
# dropbear needs to be configured differently
[[ $CRYPTROOT_ENABLE == yes && $RELEASE == xenial ]] && exit_with_error "Encrypted rootfs is not supported in Xenial"
[[ $RELEASE == stretch && $CAN_BUILD_STRETCH != yes ]] && exit_with_error "Building Debian Stretch images with selected kernel is not supported"
[[ $RELEASE == bionic && $CAN_BUILD_STRETCH != yes ]] && exit_with_error "Building Ubuntu Bionic images with selected kernel is not supported"
[[ $RELEASE == hirsute && $HOSTRELEASE == focal ]] && exit_with_error "Building Ubuntu Hirsute images requires Hirsute build host. Please upgrade your host or select a different target OS"
[[ -n $ATFSOURCE && -z $ATF_USE_GCC ]] && exit_with_error "Error in configuration: ATF_USE_GCC is unset"
[[ -z $UBOOT_USE_GCC ]] && exit_with_error "Error in configuration: UBOOT_USE_GCC is unset"
[[ -z $KERNEL_USE_GCC ]] && exit_with_error "Error in configuration: KERNEL_USE_GCC is unset"
@@ -423,7 +417,7 @@ BOOTCONFIG_VAR_NAME=BOOTCONFIG_${BRANCH^^}
[[ -z $ATFPATCHDIR ]] && ATFPATCHDIR="atf-$LINUXFAMILY"
[[ -z $KERNELPATCHDIR ]] && KERNELPATCHDIR="$LINUXFAMILY-$BRANCH"
if [[ "$RELEASE" =~ ^(xenial|bionic|focal|hirsute|impish|jammy)$ ]]; then
if [[ "$RELEASE" =~ ^(focal|jammy)$ ]]; then
DISTRIBUTION="Ubuntu"
else
DISTRIBUTION="Debian"

View File

@@ -440,10 +440,8 @@ prepare_partitions()
# add -N number of inodes to keep mount from running out
# create bigger number for desktop builds
if [[ $BUILD_DESKTOP == yes ]]; then local node_number=4096; else local node_number=1024; fi
if [[ $HOSTRELEASE =~ bionic|buster|bullseye|cosmic|focal|hirsute|impish|jammy|sid ]]; then
if [[ $HOSTRELEASE =~ buster|bullseye|focal|jammy|sid ]]; then
mkopts[ext4]="-q -m 2 -O ^64bit,^metadata_csum -N $((128*${node_number}))"
elif [[ $HOSTRELEASE == xenial ]]; then
mkopts[ext4]="-q -m 2 -N $((128*${node_number}))"
fi
mkopts[fat]='-n BOOT'
mkopts[ext2]='-q'

View File

@@ -620,20 +620,7 @@ install_distribution_specific()
case $RELEASE in
xenial)
# remove legal info from Ubuntu
[[ -f "${SDCARD}"/etc/legal ]] && rm "${SDCARD}"/etc/legal
# ureadahead needs kernel tracing options that AFAIK are present only in mainline. disable
chroot "${SDCARD}" /bin/bash -c \
"systemctl --no-reload mask ondemand.service ureadahead.service >/dev/null 2>&1"
chroot "${SDCARD}" /bin/bash -c \
"systemctl --no-reload mask setserial.service etc-setserial.service >/dev/null 2>&1"
;;
stretch|buster|sid)
buster|sid)
# remove doubled uname from motd
[[ -f "${SDCARD}"/etc/update-motd.d/10-uname ]] && rm "${SDCARD}"/etc/update-motd.d/10-uname
@@ -654,7 +641,8 @@ install_distribution_specific()
;;
bionic|focal|hirsute|impish|jammy)
focal|jammy)
# by using default lz4 initrd compression leads to corruption, go back to proven method
sed -i "s/^COMPRESS=.*/COMPRESS=gzip/" "${SDCARD}"/etc/initramfs-tools/initramfs.conf

View File

@@ -159,7 +159,7 @@ get_package_list_hash()
# create_sources_list <release> <basedir>
#
# <release>: buster|bullseye|bionic|focal|hirsute|impish|jammy|sid
# <release>: bullseye|focal|jammy|sid
# <basedir>: path to root directory
#
create_sources_list()
@@ -169,7 +169,7 @@ create_sources_list()
[[ -z $basedir ]] && exit_with_error "No basedir passed to create_sources_list"
case $release in
stretch|buster)
buster)
cat <<-EOF > "${basedir}"/etc/apt/sources.list
deb http://${DEBIAN_MIRROR} $release main contrib non-free
#deb-src http://${DEBIAN_MIRROR} $release main contrib non-free
@@ -208,7 +208,7 @@ create_sources_list()
EOF
;;
xenial|bionic|focal|hirsute|impish|jammy)
focal|jammy)
cat <<-EOF > "${basedir}"/etc/apt/sources.list
deb http://${UBUNTU_MIRROR} $release main restricted universe multiverse
#deb-src http://${UBUNTU_MIRROR} $release main restricted universe multiverse