Browse Source

changes for new archios

master
Erik Dubois 4 years ago
parent
commit
a21fe2c820
  1. 2
      archiso.md
  2. 10
      installation-scripts/30-build-the-iso-the-first-time.sh
  3. 12
      installation-scripts/40-build-the-iso-local-again.sh

2
archiso.md

@ -9,7 +9,7 @@ https://www.archlinux.org/packages/extra/any/archiso/
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

10
installation-scripts/30-build-the-iso-the-first-time.sh

@ -34,7 +34,7 @@ echo
#isoLabel='arcolinux-next-'$arcolinuxVersion'-x86_64.iso'
# setting of the general parameters
archisoRequiredVersion="archiso 50.1-1"
archisoRequiredVersion="archiso 51.1"
buildFolder=$HOME"/alci-build"
outFolder=$HOME"/Alci-Out"
archisoVersion=$(sudo pacman -Q archiso)
@ -61,6 +61,8 @@ echo
echo "You need to install the correct version of Archiso"
echo "Use 'sudo downgrade archiso' to do that"
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 "###################################################################################################"
tput sgr0
exit 1
@ -71,7 +73,7 @@ echo "################################################################## "
tput setaf 2
echo "Phase 2 :"
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"
tput sgr0
echo "################################################################## "
@ -123,8 +125,8 @@ echo
fi
echo
echo "Saving current archiso version to readme"
sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.readme
echo "Saving current archiso version to archiso.md"
sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md
echo
echo "Making mkarchiso verbose"
sudo sed -i 's/quiet="y"/quiet="n"/g' /usr/bin/mkarchiso

12
installation-scripts/40-build-the-iso-local-again.sh

@ -34,7 +34,7 @@ echo
#isoLabel='arcolinux-next-'$arcolinuxVersion'-x86_64.iso'
# setting of the general parameters
archisoRequiredVersion="archiso 50.1-1"
archisoRequiredVersion="archiso 51.1"
buildFolder=$HOME"/alci-build"
outFolder=$HOME"/Alci-Out"
archisoVersion=$(sudo pacman -Q archiso)
@ -61,6 +61,8 @@ echo
echo "You need to install the correct version of Archiso"
echo "Use 'sudo downgrade archiso' to do that"
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 "###################################################################################################"
tput sgr0
exit 1
@ -71,7 +73,7 @@ echo "################################################################## "
tput setaf 2
echo "Phase 2 :"
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"
tput sgr0
echo "################################################################## "
@ -123,8 +125,8 @@ echo
fi
echo
echo "Saving current archiso version to readme"
sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.readme
echo "Saving current archiso version to archiso.md"
sudo sed -i "s/\(^archiso-version=\).*/\1$archisoVersion/" ../archiso.md
echo
echo "Making mkarchiso verbose"
sudo sed -i 's/quiet="y"/quiet="n"/g' /usr/bin/mkarchiso
@ -282,7 +284,7 @@ echo
# echo "Moving pkglist.x86_64.txt"
# echo "########################"
# cp $buildFolder/iso/arch/pkglist.x86_64.txt $outFolder/$isoLabel".pkglist.txt"
#
#
#echo
#echo "##################################################################"

Loading…
Cancel
Save