From b7c4fbb7c37ada9daeca9ebedcc0653493745949 Mon Sep 17 00:00:00 2001 From: HRM_CA Date: Fri, 19 Apr 2024 13:48:36 +0330 Subject: [PATCH] updating pkglist and workflow script --- .github/workflows/main.yml | 17 ++++++++--------- pkglist.txt | 9 --------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3e0ab7c..2cf8fb4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,5 @@ # This workflow will build an Arch Linux rootfs file with the commit on it -name: build parch-rootfs per release +name: build parchlinux-bootstrap-x86_64 per release on: release: types: @@ -27,13 +27,12 @@ jobs: - name: Change Arch docker mirror run: reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist - name: making new dir for rootfs - run: mkdir /parch-rootfs + run: mkdir /parchlinux-bootstrap-x86_64 - name: install packages via pacstrap to rootfs - run: pacstrap -K /parch-rootfs $(cat pkglist.txt | tr '\n' ' ') - - name: commpress and upload rootfs to the release + run: pacstrap -K /parchlinux-bootstrap-x86_64 $(cat pkglist.txt | tr '\n' ' ') + - name: commpress and upload pacstrap to the release run: | - mkdir /parch-rootfs-output - cd /parch-rootfs-output - export GZIP=-9 - tar --use-compress-program='xz -3e' -cvf parch-rootfs.tar.xz /parch-rootfs > /tmp/log.txt - gh release upload ${{ github.event.release.tag_name }} /parch-rootfs-output/* -R ${{ github.repository }} + mkdir /parchlinux-bootstrap-x86_64-output + cd /parchlinux-bootstrap-x86_64-output + tar --use-compress-program='xz -9e' -cvf parchlinux-bootstrap-x86_64.tar.xz /parchlinux-bootstrap-x86_64 > /tmp/log.txt + gh release upload ${{ github.event.release.tag_name }} /parchlinux-bootstrap-x86_64-output/* -R ${{ github.repository }} diff --git a/pkglist.txt b/pkglist.txt index 438f0fe..bcbb83f 100644 --- a/pkglist.txt +++ b/pkglist.txt @@ -1,12 +1,5 @@ -alsa-utils amd-ucode arch-install-scripts -bluez -bluez-utils -pipewire -pipewire-pulse -wireplumber -gst-plugin-pipewire archinstall b43-fwcutter base @@ -34,7 +27,6 @@ ethtool exfatprogs f2fs-tools fatresize -firefox fsarchiver git gnu-netcat @@ -144,7 +136,6 @@ networkmanager btop neofetch-git -ark unzip unrar