} [biglinux-testing] SigLevel = PackageRequired Server = https://devdevdev.biglinux.com.br/testing/$arch [biglinux-testing] SigLevel = PackageRequired Server = https://devdevdev.biglinux.com.br/testing/$arch [biglinux-stable] SigLevel = PackageRequired Server = https://devdevdev.biglinux.com.br/stable/$arch [biglinux-testing] SigLevel = PackageRequired Server = https://devdevdev.biglinux.com.br/testing/$arch [biglinux-testing] SigLevel = PackageRequired Server = https://devdevdev.biglinux.com.br/testing/$arch [biglinux-stable] SigLevel = PackageRequired Server = https://devdevdev.biglinux.com.br/stable/$arch Server = https://irltoolkit.mm.fcix.net/manjaro/stable/$repo/$arch Server = http://mirror.fcix.net/manjaro/stable/$repo/$arch Server = https://opencolo.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch Server = https://ridgewireless.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://codingflyboy.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://mirrors.sonic.net/manjaro/stable/$repo/$arch Server = https://repo.ialab.dsu.edu/manjaro/stable/$repo/$arch Server = https://volico.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://forksystems.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://mnvoip.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://coresite.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://uvermont.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://ohioix.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://southfront.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://nnenix.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch Server = https://nocix.mm.fcix.net/manjaro/stable/$repo/$arch Server = https://mirrors.gigenet.com/manjaro/stable/$repo/$arch Server = https://ask4.mm.fcix.net/manjaro/stable/$repo/$arch Run sudo git clone ${BRANCH:+--branch ${BRANCH}} --depth 1 ${REPO} iso-profiles sudo git clone ${BRANCH:+--branch ${BRANCH}} --depth 1 ${REPO} iso-profiles shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} env: REPO: https://github.com/talesam/iso-profiles BRANCH: Cloning into 'iso-profiles'... Run ## BigLinux Pre Config Build ISO ## BigLinux Pre Config Build ISO echo "## BigLinux Pre Config Build ISO ##" #MESA # if [ "$KERNEL" = "oldLts" -a $EDITION != "xivastudio" ]; then # echo ' # mesa-amber # lib32-mesa-amber' | sudo tee -a iso-profiles/biglinux/$EDITION/Packages-Root if [ "$KERNEL" = "latest" -o "$KERNEL" = "xanmod" ]; then echo ' mesa-tkg-stable lib32-mesa-tkg-stable' | sudo tee -a iso-profiles/biglinux/$EDITION/Packages-Root sudo sed -i '/libva-mesa/d' iso-profiles/biglinux/$EDITION/Packages-Desktop sudo sed -i '/libva-mesa/d' iso-profiles/biglinux/$EDITION/Packages-Mhwd sudo sed -i '/vulkan-swrast/d' iso-profiles/biglinux/$EDITION/Packages-Desktop fi #KERNEL if [ "$KERNEL" = "oldLts" ];then oldLts=$(curl -s https://www.kernel.org/feeds/kdist.xml | grep ": longterm" | sed 's/^.*//' | sed 's/<\/title>.*$//' | cut -d ":" -f1 | rev | cut -d "." -f2,3 | rev | head -n2 | sed 's/\.//g' | tail -n1) KERNEL=$oldLts elif [ "$KERNEL" = "atualLts" ];then atualLts=$(curl -s https://www.kernel.org/feeds/kdist.xml | grep ": longterm" | sed 's/^.*<title>//' | sed 's/<\/title>.*$//' | cut -d ":" -f1 | rev | cut -d "." -f2,3 | rev | head -n1 | sed 's/\.//g') KERNEL=$atualLts elif [ "$KERNEL" = "latest" ];then # kernelVer=62 # kernelVer=$(pacman -Sl | grep linux[0-9] | grep core | grep -vE "rc|headers" | sort | tail -n1 | cut -d " " -f2 | sed 's/linux//') kernelVer=$(curl -s https://raw.githubusercontent.com/biglinux/linux-latest/stable/PKGBUILD | awk -F= '/kernelver=/{print $2}') echo "linux-latest" | sudo tee -a iso-profiles/biglinux/$EDITION/Packages-Root KERNEL=$kernelVer elif [ -n "$(echo $KERNEL | grep xanmod)" ];then echo ' linux-firmware' | sudo tee -a iso-profiles/biglinux/$EDITION/Packages-Root KERNEL=-${KERNEL} fi # Stable if [ "$BIGBRANCH" = "stable" ];then echo "BUILD_RELEASE=2023-12-25_17-39" | cut -d "_" -f1 | sudo tee -a iso-profiles/biglinux/$EDITION/root-overlay/etc/big-release fi # Beta if [ "$BIGBRANCH" = "beta" ];then echo "BUILD_RELEASE=2023-12-25_17-39" | sudo tee -a iso-profiles/biglinux/$EDITION/root-overlay/etc/big-release fi # Testing/Unstable if [ "$BIGBRANCH" = "testing" ] || [ "$BIGBRANCH" = "unstable" ];then #add repo testing sudo sed -i '/\[biglinux-stable\]/{h;s/.*/\[biglinux-testing\]/;p;x;}' iso-profiles/biglinux/$EDITION/user-repos.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*/\[biglinux-testing\]/;p;x;}' iso-profiles/biglinux/$EDITION/live-overlay/etc/pacman.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*/\[biglinux-testing\]/;p;x;}' iso-profiles/biglinux/$EDITION/root-overlay/etc/pacman.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*/SigLevel = PackageRequired/;p;x;}' iso-profiles/biglinux/$EDITION/user-repos.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*/SigLevel = PackageRequired/;p;x;}' iso-profiles/biglinux/$EDITION/live-overlay/etc/pacman.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*/SigLevel = PackageRequired/;p;x;}' iso-profiles/biglinux/$EDITION/root-overlay/etc/pacman.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*/Server = https:\/\/repo.biglinux.com.br\/testing\/$arch/;p;x;}' iso-profiles/biglinux/$EDITION/user-repos.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*/Server = https:\/\/repo.biglinux.com.br\/testing\/$arch/;p;x;}' iso-profiles/biglinux/$EDITION/live-overlay/etc/pacman.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*/Server = https:\/\/repo.biglinux.com.br\/testing\/$arch/;p;x;}' iso-profiles/biglinux/$EDITION/root-overlay/etc/pacman.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*//;p;x;}' iso-profiles/biglinux/$EDITION/user-repos.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*//;p;x;}' iso-profiles/biglinux/$EDITION/live-overlay/etc/pacman.conf sudo sed -i '/\[biglinux-stable\]/{h;s/.*//;p;x;}' iso-profiles/biglinux/$EDITION/root-overlay/etc/pacman.conf echo "BUILD_RELEASE=2023-12-25_17-39" | sudo tee -a iso-profiles/biglinux/$EDITION/root-overlay/etc/big-release # Add kde-unstable repository if BIGBRANCH equals unstable if [ "$BIGBRANCH" = "unstable" ]; then sudo sed -i '/^\[extra\]$/i [kde-unstable]\nSigLevel = PackageRequired\nInclude = /etc/pacman.d/mirrorcdn\nInclude = /etc/pacman.d/mirrorlist\n' iso-profiles/biglinux/$EDITION/user-repos.conf sudo sed -i '/^\[extra\]$/i [kde-unstable]\nSigLevel = PackageRequired\nInclude = /etc/pacman.d/mirrorcdn\nInclude = /etc/pacman.d/mirrorlist\n' iso-profiles/biglinux/$EDITION/live-overlay/etc/pacman.conf sudo sed -i '/^\[extra\]$/i [kde-unstable]\nSigLevel = PackageRequired\nInclude = /etc/pacman.d/mirrorcdn\nInclude = /etc/pacman.d/mirrorlist\n' iso-profiles/biglinux/$EDITION/root-overlay/etc/pacman.conf fi fi #Build Release and Unix Time echo "BUILD_BRANCH=$BIGBRANCH" | sudo tee -a iso-profiles/biglinux/$EDITION/root-overlay/etc/big-release echo "UNIX_TIMESTAMP=$(( $(date +%s) / 86400 ))" | sudo tee -a iso-profiles/biglinux/$EDITION/root-overlay/etc/big-release #LABEL sudo sed -i "s/label=.*/label=biglinux_2023-12-25_17-39.iso/" iso-profiles/biglinux/$EDITION/profile.conf sudo rm -r iso-profiles/custom-profiles echo $KERNEL echo $EDITION echo $MANJAROBRANCH echo $BIGBRANCH echo $MESA sudo buildiso ${SCOPE:+-f} -p $EDITION -b $MANJAROBRANCH -k linux${KERNEL} ${OFFICE:+-o} if [ -n "$(echo $KERNEL | grep xanmod)" ];then KERNEL=$(echo ${KERNEL} | sed 's/-//') fi sudo rm -Rf /var/lib/manjaro-tools/buildiso/* OUTPUT_ISO_PATH=$(find /var/cache/manjaro-tools/iso -type f -name "*.iso" -exec stat -c '%Y %n' {} \; | sort -nr | awk 'NR==1 {print $2}') #Kernel Name if [ "$KERNEL" != "xanmod" ];then KERNEL=k${KERNEL} elif [ "$KERNEL" = "xanmod" ];then xanVer=$(grep linux-xanmod $(find /var/cache/manjaro-tools/iso -type f -name "*-pkgs.txt" -exec stat -c '%Y %n' {} \; | sort -nr | awk 'NR==1 {print $2}') | grep -v headers | cut -d " " -f2 | cut -d "-" -f1 | sed ':a;$!{N;ba;};s/\(.*\)\..*/\1/' | sed 's/\.//') KERNEL=$(echo ${KERNEL} | sed 's/-//')${xanVer} fi #renome ISO # Renomear ISO if [ "$MANJAROBRANCH" = "stable" ] && [ "$BIGBRANCH" = "stable" ]; then TARGET_ISO_PATH=${NAME}_STABLE_${EDITION}_$(echo 2023-12-25_17-39 | cut -d "_" -f1 )_${KERNEL}.iso elif [ "$MANJAROBRANCH" = "stable" ] && [ "$BIGBRANCH" = "testing" ]; then TARGET_ISO_PATH=${NAME}_RC_${EDITION}_$(echo 2023-12-25_17-39 | cut -d "_" -f1 )_${KERNEL}.iso elif [ "$MANJAROBRANCH" = "testing" ] && [ "$BIGBRANCH" = "stable" ]; then TARGET_ISO_PATH=${NAME}_BETA_${EDITION}_$(echo 2023-12-25_17-39 | cut -d "_" -f1 )_${KERNEL}.iso elif [ "$MANJAROBRANCH" = "testing" ] && [ "$BIGBRANCH" = "testing" ]; then TARGET_ISO_PATH=${NAME}_BETA_${EDITION}_$(echo 2023-12-25_17-39 | cut -d "_" -f1 )_${KERNEL}.iso elif [ "$MANJAROBRANCH" = "unstable" ] && [ "$BIGBRANCH" = "stable" ]; then TARGET_ISO_PATH=${NAME}_DEVELOPMENT_${EDITION}_$(echo 2023-12-25_17-39 | cut -d "_" -f1 )_${KERNEL}.iso elif [ "$MANJAROBRANCH" = "unstable" ] && [ "$BIGBRANCH" = "testing" ]; then TARGET_ISO_PATH=${NAME}_DEVELOPMENT_${EDITION}_$(echo 2023-12-25_17-39 | cut -d "_" -f1 )_${KERNEL}.iso fi sudo mv $OUTPUT_ISO_PATH ./$TARGET_ISO_PATH # echo "::set-output name=file-path::$TARGET_ISO_PATH" echo "file-path=$TARGET_ISO_PATH" >> $GITHUB_OUTPUT FILE_PKG=$(find /var/cache/manjaro-tools/iso -type f -name "*-pkgs.txt" -exec stat -c '%Y %n' {} \; | sort -nr | awk 'NR==1 {print $2}') sudo mv $FILE_PKG ./${TARGET_ISO_PATH}.pkgs sudo rm -r iso-profiles ls -lh echo shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} env: NAME: biglinux EDITION: kde-unstable MANJAROBRANCH: unstable BIGBRANCH: testing SCOPE: full KERNEL: latest OFFICE: MESA: EXTRAREPO: ## BigLinux Pre Config Build ISO ## mesa-tkg-stable lib32-mesa-tkg-stable linux-latest BUILD_RELEASE=2023-12-25_17-39 BUILD_BRANCH=testing UNIX_TIMESTAMP=19716 66 kde-unstable unstable testing --> Profile: [kde-unstable] --> detected: user-repos.conf -> parsing repo [biglinux-update-stable] ... -> parsing repo [biglinux-testing] ... -> parsing repo [biglinux-stable] ... ==> Start building [kde-unstable] ==> Cleaning up ... -> Deleting isoroot [iso] ... --> Loading Packages: [Packages-Root] ... ==> Prepare [Base installation] (rootfs) --> mirror: https://mirror.easyname.at/manjaro/unstable/$repo/$arch ==> Creating install root at /var/lib/manjaro-tools/buildiso/kde-unstable/x86_64/rootfs -> Installing packages to /var/lib/manjaro-tools/buildiso/kde-unstable/x86_64/rootfs error: config file /etc/pacman.d/mirrorcdn could not be read: No such file or directory ==> ERROR: Failed to install packages to new root ==> ERROR: Failed to install all packages Error: Process completed with exit code 255.