changes for new archios

This commit is contained in:
Erik Dubois 2021-02-01 11:29:53 +01:00
parent f46ef9728d
commit a21fe2c820
3 changed files with 14 additions and 10 deletions

View file

@ -9,7 +9,7 @@ https://www.archlinux.org/packages/extra/any/archiso/
We are now using this version We are now using this version
archiso-version=archiso 50.1-1 archiso-version=archiso 51-1
sudo pacman -Q archiso and you will know your version sudo pacman -Q archiso and you will know your version

View file

@ -34,7 +34,7 @@ echo
#isoLabel='arcolinux-next-'$arcolinuxVersion'-x86_64.iso' #isoLabel='arcolinux-next-'$arcolinuxVersion'-x86_64.iso'
# setting of the general parameters # setting of the general parameters
archisoRequiredVersion="archiso 50.1-1" archisoRequiredVersion="archiso 51.1"
buildFolder=$HOME"/alci-build" buildFolder=$HOME"/alci-build"
outFolder=$HOME"/Alci-Out" outFolder=$HOME"/Alci-Out"
archisoVersion=$(sudo pacman -Q archiso) archisoVersion=$(sudo pacman -Q archiso)
@ -61,6 +61,8 @@ echo
echo "You need to install the correct version of Archiso" echo "You need to install the correct version of Archiso"
echo "Use 'sudo downgrade archiso' to do that" echo "Use 'sudo downgrade archiso' to do that"
echo "or update your system" echo "or update your system"
echo "If a new archiso package comes in and you want to test if you can still build"
echo "the iso then change the version in line 37."
echo "###################################################################################################" echo "###################################################################################################"
tput sgr0 tput sgr0
exit 1 exit 1
@ -71,7 +73,7 @@ echo "################################################################## "
tput setaf 2 tput setaf 2
echo "Phase 2 :" echo "Phase 2 :"
echo "- Checking if archiso is installed" echo "- Checking if archiso is installed"
echo "- Saving current archiso version to readme" echo "- Saving current archiso version to archiso.md"
echo "- Making mkarchiso verbose" echo "- Making mkarchiso verbose"
tput sgr0 tput sgr0
echo "################################################################## " echo "################################################################## "
@ -123,8 +125,8 @@ echo
fi fi
echo echo
echo "Saving current archiso version to readme" echo "Saving current archiso version to archiso.md"
sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.readme sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md
echo echo
echo "Making mkarchiso verbose" echo "Making mkarchiso verbose"
sudo sed -i 's/quiet="y"/quiet="n"/g' /usr/bin/mkarchiso sudo sed -i 's/quiet="y"/quiet="n"/g' /usr/bin/mkarchiso

View file

@ -34,7 +34,7 @@ echo
#isoLabel='arcolinux-next-'$arcolinuxVersion'-x86_64.iso' #isoLabel='arcolinux-next-'$arcolinuxVersion'-x86_64.iso'
# setting of the general parameters # setting of the general parameters
archisoRequiredVersion="archiso 50.1-1" archisoRequiredVersion="archiso 51.1"
buildFolder=$HOME"/alci-build" buildFolder=$HOME"/alci-build"
outFolder=$HOME"/Alci-Out" outFolder=$HOME"/Alci-Out"
archisoVersion=$(sudo pacman -Q archiso) archisoVersion=$(sudo pacman -Q archiso)
@ -61,6 +61,8 @@ echo
echo "You need to install the correct version of Archiso" echo "You need to install the correct version of Archiso"
echo "Use 'sudo downgrade archiso' to do that" echo "Use 'sudo downgrade archiso' to do that"
echo "or update your system" echo "or update your system"
echo "If a new archiso package comes in and you want to test if you can still build"
echo "the iso then change the version in line 37."
echo "###################################################################################################" echo "###################################################################################################"
tput sgr0 tput sgr0
exit 1 exit 1
@ -71,7 +73,7 @@ echo "################################################################## "
tput setaf 2 tput setaf 2
echo "Phase 2 :" echo "Phase 2 :"
echo "- Checking if archiso is installed" echo "- Checking if archiso is installed"
echo "- Saving current archiso version to readme" echo "- Saving current archiso version to archiso.md"
echo "- Making mkarchiso verbose" echo "- Making mkarchiso verbose"
tput sgr0 tput sgr0
echo "################################################################## " echo "################################################################## "
@ -123,8 +125,8 @@ echo
fi fi
echo echo
echo "Saving current archiso version to readme" echo "Saving current archiso version to archiso.md"
sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.readme sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md
echo echo
echo "Making mkarchiso verbose" echo "Making mkarchiso verbose"
sudo sed -i 's/quiet="y"/quiet="n"/g' /usr/bin/mkarchiso sudo sed -i 's/quiet="y"/quiet="n"/g' /usr/bin/mkarchiso