mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Add Ubuntu Impish (#3006)
This commit is contained in:
1
config/cli/impish/debootstrap
Symbolic link
1
config/cli/impish/debootstrap
Symbolic link
@@ -0,0 +1 @@
|
||||
../focal/debootstrap
|
||||
1
config/cli/impish/main/config_cli_standard
Symbolic link
1
config/cli/impish/main/config_cli_standard
Symbolic link
@@ -0,0 +1 @@
|
||||
../../focal/main/config_cli_standard
|
||||
1
config/cli/impish/main/config_desktop
Symbolic link
1
config/cli/impish/main/config_desktop
Symbolic link
@@ -0,0 +1 @@
|
||||
../../focal/main/config_desktop
|
||||
1
config/cli/impish/main/packages
Symbolic link
1
config/cli/impish/main/packages
Symbolic link
@@ -0,0 +1 @@
|
||||
../../focal/main/packages
|
||||
2
config/cli/impish/main/packages.additional
Normal file
2
config/cli/impish/main/packages.additional
Normal 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
1
config/desktop/impish
Symbolic link
@@ -0,0 +1 @@
|
||||
hirsute
|
||||
1
config/distributions/impish/name
Normal file
1
config/distributions/impish/name
Normal file
@@ -0,0 +1 @@
|
||||
Ubuntu Impish 21.10
|
||||
1
config/distributions/impish/support
Normal file
1
config/distributions/impish/support
Normal file
@@ -0,0 +1 @@
|
||||
csc
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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}))"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user