mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Add extension for patching Deboostrap to support Ubuntu Noble
This commit is contained in:
15
extensions/ubuntu-noble.sh
Normal file
15
extensions/ubuntu-noble.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
function add_host_dependencies__patch_deboostrap(){
|
||||
|
||||
echo "Patching Debootstrap to support Ubuntu Noble"
|
||||
NOBLE_SYMLINK=/usr/share/debootstrap/scripts/noble
|
||||
if [ -L ${NOBLE_SYMLINK} ] && [ -e ${NOBLE_SYMLINK} ]; then
|
||||
:
|
||||
else
|
||||
if ! command -v sudo &> /dev/null; then
|
||||
run_host_command_logged ln -s gutsy ${NOBLE_SYMLINK}
|
||||
else
|
||||
run_host_command_logged sudo ln -s gutsy ${NOBLE_SYMLINK}
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user