Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upd(linux-kernel): 6.9~rc6 -> 6.9~rc7 #20

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 52 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,19 @@ jobs:
export SUDO_USER=$USER
export DEBIAN_FRONTEND=noninteractive
export GITHUB_ACTIONS=true
export METADIR=/var/lib/pacstall/metadata
PRNUM="$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')"
for changed_file in ${{ steps.files.outputs.added_modified }}; do
if [[ ${changed_file} == *".pacscript" ]]; then
pacscript_file=`basename "${changed_file}"`
package_name="${pacscript_file/.pacscript/ }"
package_dir=`dirname "${changed_file}"`
echo "Running pacstall -I for ${package_name}..."
echo "pacstall -I ${package_name}"
pushd ${package_dir}
pacstall --disable-prompts -I ${pacscript_file} || exit 1
popd
package_name="${pacscript_file/.pacscript/}"
if [[ -f "${METADIR}/${package_name}" ]]; then
echo "Package ${package_name} has already been installed."
else
echo "Running pacstall -Qa for ${package_name}..."
echo "pacstall -Qa ${package_name}#${PRNUM}@github:${GITHUB_REPOSITORY}"
{ echo N | pacstall -Qa ${package_name}#${PRNUM}@github:${GITHUB_REPOSITORY}; } || exit 1
fi
fi
done
shell: sudo -E -u dio bash {0}
Expand All @@ -131,7 +134,22 @@ jobs:
export SUDO_USER=$USER
export DEBIAN_FRONTEND=noninteractive
export GITHUB_ACTIONS=true
for changed_file in $(pacstall -L); do
export METADIR=/var/lib/pacstall/metadata
function array.contains() {
local check
local -n arra="${1:?No array passed to array.contains}"
local input="${2:?No input given to array.contains}"
for check in "${arra[@]}"; do
if [[ ${check} == "${input}" ]]; then
return 0
fi
done
return 1
}
source /usr/share/pacstall/scripts/dep-tree.sh
mapfile -t list < <(pacstall -L)
dep_tree.loop_traits order "${list[@]}"
for changed_file in "${order[@]}"; do
echo "Running pacstall -R for ${changed_file}..."
pacstall --disable-prompts -R ${changed_file} || exit 1
done
Expand Down Expand Up @@ -212,16 +230,19 @@ jobs:
export SUDO_USER=$USER
export DEBIAN_FRONTEND=noninteractive
export GITHUB_ACTIONS=true
export METADIR=/var/lib/pacstall/metadata
PRNUM="$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')"
for changed_file in ${{ steps.files.outputs.added_modified }}; do
if [[ ${changed_file} == *".pacscript" ]]; then
pacscript_file=`basename "${changed_file}"`
package_name="${pacscript_file/.pacscript/ }"
package_dir=`dirname "${changed_file}"`
echo "Running pacstall -I for ${package_name}..."
echo "pacstall -Il ${package_name}"
pushd ${package_dir}
pacstall --disable-prompts -I ${pacscript_file} || exit 1
popd
package_name="${pacscript_file/.pacscript/}"
if [[ -f "${METADIR}/${package_name}" ]]; then
echo "Package ${package_name} has already been installed."
else
echo "Running pacstall -Qa for ${package_name}..."
echo "pacstall -Qa ${package_name}#${PRNUM}@github:${GITHUB_REPOSITORY}"
{ echo N | pacstall -Qa ${package_name}#${PRNUM}@github:${GITHUB_REPOSITORY}; } || exit 1
fi
fi
done
shell: sudo -E -u dio bash {0}
Expand All @@ -233,7 +254,22 @@ jobs:
export SUDO_USER=$USER
export DEBIAN_FRONTEND=noninteractive
export GITHUB_ACTIONS=true
for changed_file in $(pacstall -L); do
export METADIR=/var/lib/pacstall/metadata
function array.contains() {
local check
local -n arra="${1:?No array passed to array.contains}"
local input="${2:?No input given to array.contains}"
for check in "${arra[@]}"; do
if [[ ${check} == "${input}" ]]; then
return 0
fi
done
return 1
}
source /usr/share/pacstall/scripts/dep-tree.sh
mapfile -t list < <(pacstall -L)
dep_tree.loop_traits order "${list[@]}"
for changed_file in "${order[@]}"; do
echo "Running pacstall -R for ${changed_file}..."
pacstall --disable-prompts -R ${changed_file} || exit 1
done
Expand Down
8 changes: 4 additions & 4 deletions packages/linux-headers-deb/linux-headers-deb.pacscript
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
pkgname="linux-headers-deb"
gives="linux-headers-6.9.0-060900rc6"
pkgver="6.9~rc6"
buildver="6.9.0-060900rc6.202404282134"
gives="linux-headers-6.9.0-060900rc7"
pkgver="6.9~rc7"
buildver="6.9.0-060900rc7.202405052133"
source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/amd64/${gives}_${buildver}_all.deb")
pkgdesc="Ubuntu Linux mainline kernel (Headers)"
sha256sums=("2d36527971d06c28c4237546eaa87cef6ff47dc390ff1fec3888ecf88cde076e")
sha256sums=("e893d4c6bb21c1334725c28cbbf01ed4a3b1d49812043481a186fa5181dc029c")
arch=('any')
maintainer=("Oren Klopfer <[email protected]>")
repology=("project: linux" "repo: aur" "srcname: linux-mainline" "binname: linux-mainline-headers")
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
pkgname="linux-headers-generic-deb"
gives="linux-headers-6.9.0-060900rc6-generic"
pkgver="6.9~rc6"
buildver="6.9.0-060900rc6.202404282134"
gives="linux-headers-6.9.0-060900rc7-generic"
pkgver="6.9~rc7"
buildver="6.9.0-060900rc7.202405052133"
arch=('arm64' 'amd64')
sha256sums_arm64=("d1c86c50221266aa98090b36e6d52d55a940e1bf10afda5e696b6ec0cf0f5db3")
sha256sums_amd64=("481644182f853da3c41e91dc7f958c71eb8351859c59fbec6173a13176fdf311")
sha256sums_arm64=("99a583c9ac86f259ba6d82d4a9a7dce875a4b9db21d8987f8bb8068e46df4c80")
sha256sums_amd64=("a8219e60a311c34e2914c17eaa37252d4be35f89aa6386037f1d813d6b7cd6fe")
source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/${CARCH}/${gives}_${buildver}_${CARCH}.deb")
pkgdesc="Ubuntu Linux mainline kernel (Generic headers)"
pacdeps=("linux-headers-deb")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
pkgname="linux-image-unsigned-deb"
gives="linux-image-unsigned-6.9.0-060900rc6-generic"
pkgver="6.9~rc6"
buildver="6.9.0-060900rc6.202404282134"
gives="linux-image-unsigned-6.9.0-060900rc7-generic"
pkgver="6.9~rc7"
buildver="6.9.0-060900rc7.202405052133"
arch=('arm64' 'amd64')
sha256sums_arm64=("fcaf757824b571e1fa8dd99b31ef708131b153377a3d353482d07879fe73d63b")
sha256sums_amd64=("48013764c08080470b70378d1650857a775f6544c8bdf4e0c5da686afc260709")
sha256sums_arm64=("23660e3ba9277c103834cb2f531e0e67457cff741c676b727802fc4057872165")
sha256sums_amd64=("4e7dad2c9bb49c04f9b464246819d92f00d064fe7942a651396ee48c754bdd2d")
source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/${CARCH}/${gives}_${buildver}_${CARCH}.deb")
pkgdesc="Ubuntu Linux mainline kernel (Unsigned image)"
pacdeps=("linux-headers-generic-deb" "linux-modules-deb")
Expand Down
2 changes: 1 addition & 1 deletion packages/linux-kernel/linux-kernel.pacscript
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname="linux-kernel"
pkgver="6.9~rc6"
pkgver="6.9~rc7"
source=("https://github.com/oklopfer/debs/raw/master/empty.tar.xz")
pacdeps=("linux-headers-deb" "linux-headers-generic-deb" "linux-modules-deb" "linux-image-unsigned-deb")
pkgdesc="Provides the latest Linux kernel via the Ubuntu mainline repositories"
Expand Down
10 changes: 5 additions & 5 deletions packages/linux-modules-deb/linux-modules-deb.pacscript
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
pkgname="linux-modules-deb"
gives="linux-modules-6.9.0-060900rc6-generic"
pkgver="6.9~rc6"
buildver="6.9.0-060900rc6.202404282134"
gives="linux-modules-6.9.0-060900rc7-generic"
pkgver="6.9~rc7"
buildver="6.9.0-060900rc7.202405052133"
arch=('arm64' 'amd64')
sha256sums_arm64=("e3e46b66a8e98aad256aca6a16fd683a7da095c7f2250b22fab4a76fdbde4d42")
sha256sums_amd64=("860c7927164043ad4602503657fcb606e48c1c238fa0428b8f55d8f903fe7346")
sha256sums_arm64=("c4bf7b89429361e240587e24407dc680f872a0dd47fe7d5d31f5cd50c9e17169")
sha256sums_amd64=("f8ab187fa4f0a25ca9f8eebb2e5c174a31bae1cbf46330fc26f5f67d72a5afdb")
source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/${CARCH}/${gives}_${buildver}_${CARCH}.deb")
pkgdesc="Ubuntu Linux mainline kernel (Linux Modules)"
maintainer=("Oren Klopfer <[email protected]>")
Loading