Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package arch-install-scripts for
openSUSE:Factory checked in at 2022-08-01 21:32:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/arch-install-scripts (Old)
and /work/SRC/openSUSE:Factory/.arch-install-scripts.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "arch-install-scripts"
Mon Aug 1 21:32:43 2022 rev:3 rq:991905 version:26
Changes:
--------
---
/work/SRC/openSUSE:Factory/arch-install-scripts/arch-install-scripts.changes
2022-07-05 12:10:05.488609408 +0200
+++
/work/SRC/openSUSE:Factory/.arch-install-scripts.new.1533/arch-install-scripts.changes
2022-08-01 21:33:31.890195690 +0200
@@ -1,0 +2,5 @@
+Sun Jul 31 19:00:04 UTC 2022 - Bruno Pitrus <[email protected]> - 26
+- New upstream version 26
+ * arch-chroot: Use separate pid namespace for worker processes
+
+-------------------------------------------------------------------
Old:
----
v25.tar.gz
New:
----
v26.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ arch-install-scripts.spec ++++++
--- /var/tmp/diff_new_pack.AzO6vd/_old 2022-08-01 21:33:32.334196964 +0200
+++ /var/tmp/diff_new_pack.AzO6vd/_new 2022-08-01 21:33:32.346196998 +0200
@@ -17,7 +17,7 @@
Name: arch-install-scripts
-Version: 25
+Version: 26
Release: 0
Summary: Scripts aimed at automating some menial installation/recovery
tasks
License: GPL-2.0-only
++++++ v25.tar.gz -> v26.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/arch-install-scripts-25/arch-chroot.in
new/arch-install-scripts-26/arch-chroot.in
--- old/arch-install-scripts-25/arch-chroot.in 2022-07-03 14:01:26.000000000
+0200
+++ new/arch-install-scripts-26/arch-chroot.in 2022-07-30 00:50:36.000000000
+0200
@@ -5,7 +5,7 @@
m4_include(common)
setup=chroot_setup
-unshare="$root_unshare"
+unshare=0
usage() {
cat <<EOF
@@ -82,7 +82,7 @@
;;
N)
setup=unshare_setup
- unshare="$user_unshare"
+ unshare=1
;;
u)
userspec=$OPTARG
@@ -116,8 +116,12 @@
chroot_args=()
[[ $userspec ]] && chroot_args+=(--userspec "$userspec")
- SHELL=/bin/bash chroot "${chroot_args[@]}" -- "$chrootdir" "${args[@]}"
+ SHELL=/bin/bash $pid_unshare chroot "${chroot_args[@]}" -- "$chrootdir"
"${args[@]}"
}
args=("$@")
-$unshare bash -c "$(declare_all); arch-chroot"
+if (( unshare )); then
+ $mount_unshare bash -c "$(declare_all); arch-chroot"
+else
+ arch-chroot
+fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/arch-install-scripts-25/common
new/arch-install-scripts-26/common
--- old/arch-install-scripts-25/common 2022-07-03 14:01:26.000000000 +0200
+++ new/arch-install-scripts-26/common 2022-07-30 00:50:36.000000000 +0200
@@ -152,8 +152,8 @@
unset CHROOT_ACTIVE_FILES
}
-root_unshare="unshare --fork --pid"
-user_unshare="$root_unshare --mount --map-auto --map-root-user --setuid 0
--setgid 0"
+pid_unshare="unshare --fork --pid"
+mount_unshare="$pid_unshare --mount --map-auto --map-root-user --setuid 0
--setgid 0"
# This outputs code for declaring all variables to stdout. For example, if
# FOO=BAR, then running
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/arch-install-scripts-25/pacstrap.in
new/arch-install-scripts-26/pacstrap.in
--- old/arch-install-scripts-25/pacstrap.in 2022-07-03 14:01:26.000000000
+0200
+++ new/arch-install-scripts-26/pacstrap.in 2022-07-30 00:50:36.000000000
+0200
@@ -17,7 +17,7 @@
copymirrorlist=1
pacmode=-Sy
setup=chroot_setup
-unshare="$root_unshare"
+unshare=0
usage() {
cat <<EOF
@@ -67,7 +67,7 @@
;;
N)
setup=unshare_setup
- unshare="$user_unshare"
+ unshare=1
;;
U)
pacmode=-U
@@ -120,7 +120,7 @@
fi
msg 'Installing packages to %s' "$newroot"
- if ! pacman -r "$newroot" $pacmode "${pacman_args[@]}"; then
+ if ! $pid_unshare pacman -r "$newroot" $pacmode "${pacman_args[@]}"; then
die 'Failed to install packages to new root'
fi
@@ -130,6 +130,10 @@
fi
}
-$unshare bash -c "$(declare_all); pacstrap"
+if (( unshare )); then
+ $mount_unshare bash -c "$(declare_all); pacstrap"
+else
+ pacstrap
+fi
# vim: et ts=2 sw=2 ft=sh: