Add Ubuntu Impish (#3006)

This commit is contained in:
Igor Pečovnik
2021-07-14 08:45:30 +02:00
committed by GitHub
parent 241f015ac7
commit a7e16da2ce
12 changed files with 14 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

1
config/desktop/impish Symbolic link
View File

@@ -0,0 +1 @@
hirsute

View File

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

View File

@@ -0,0 +1 @@
csc

View File

@@ -37,6 +37,7 @@ create_chroot()
apt_mirror['bionic']="$UBUNTU_MIRROR"
apt_mirror['focal']="$UBUNTU_MIRROR"
apt_mirror['hirsute']="$UBUNTU_MIRROR"
apt_mirror['impish']="$UBUNTU_MIRROR"
components['stretch']='main,contrib'
components['buster']='main,contrib'
components['bullseye']='main,contrib'
@@ -45,6 +46,7 @@ create_chroot()
components['bionic']='main,universe,multiverse'
components['focal']='main,universe,multiverse'
components['hirsute']='main,universe,multiverse'
components['impish']='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"
# perhaps a temporally workaround

View File

@@ -361,7 +361,7 @@ BOOTCONFIG_VAR_NAME=BOOTCONFIG_${BRANCH^^}
[[ -z $ATFPATCHDIR ]] && ATFPATCHDIR="atf-$LINUXFAMILY"
[[ -z $KERNELPATCHDIR ]] && KERNELPATCHDIR="$LINUXFAMILY-$BRANCH"
if [[ "$RELEASE" =~ ^(xenial|bionic|focal|hirsute)$ ]]; then
if [[ "$RELEASE" =~ ^(xenial|bionic|focal|hirsute|impish)$ ]]; then
DISTRIBUTION="Ubuntu"
else
DISTRIBUTION="Debian"

View File

@@ -421,7 +421,7 @@ 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|sid ]]; then
if [[ $HOSTRELEASE =~ bionic|buster|bullseye|cosmic|focal|hirsute|impish|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}))"

View File

@@ -607,7 +607,7 @@ install_distribution_specific()
sed '/security/ d' -i "${SDCARD}"/etc/apt/sources.list
;;
bionic|focal|hirsute)
bionic|focal|hirsute|impish)
# 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