Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-19 11:34:13 +0200
committerErich Eckner <git@eckner.net>2020-06-19 11:34:13 +0200
commit57c7b8e14f161b086f15a879e571617c69372b97 (patch)
treec0d5fa9d1ba611708d62bbfafd8b786f890c4097 /update-archlinux32-package
parent6a2d24ea3bf41978726df64791aa7a6306b953e7 (diff)
update-archlinux32-package: find correct config also for linux-olpc-xo1
Diffstat (limited to 'update-archlinux32-package')
-rwxr-xr-xupdate-archlinux32-package10
1 files changed, 7 insertions, 3 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index f2bb6fe..b2b0523 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -346,7 +346,11 @@ case ${update_path} in
update_checksum
case "${pkgname}" in
- 'linux-pae')
+ 'linux-olpc-xo1'|'linux-pae')
+ config_name=$(
+ ls "${git_repo_path}/${repo}/${pkgname}" \
+ | grep '^config'
+ )
scp "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" 'arch32-test:'"${pkgname}/"
ssh arch32-test '
cd '"${pkgname}"'
@@ -358,8 +362,8 @@ case ${update_path} in
cp src/linux-'"${new_pkgver}"'/.config config
'
update_checksum
- scp 'arch32-test:'"${pkgname}"'/config' "${git_repo_path}/${repo}/${pkgname}/"
- git -C "${git_repo_path}/${repo}/${pkgname}" add 'PKGBUILD' 'config'
+ scp 'arch32-test:'"${pkgname}"'/config' "${git_repo_path}/${repo}/${pkgname}/${config_name}"
+ git -C "${git_repo_path}/${repo}/${pkgname}" add 'PKGBUILD' "${config_name}"
;;
*)
>&2 printf 'Whoops, I thought %s should be updated as %s, but I don'"'"'t know the details.\n' \