From 57c7b8e14f161b086f15a879e571617c69372b97 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 19 Jun 2020 11:34:13 +0200 Subject: update-archlinux32-package: find correct config also for linux-olpc-xo1 --- update-archlinux32-package | 10 +++++++--- 1 file 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' \ -- cgit v1.2.3