From 66ec40dcfc67857f5edc4b65ce97fb59b0e9708e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 23 Feb 2016 16:14:26 -0300 Subject: pacman-5.0.0-1.parabola2: sychronize filesystem and revert close stdin before running install scripts for armv7h; fix nonprism repos in pacman.conf files --- ...lose-stdin-before-running-install-scripts.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 libre/pacman/0002-Revert-close-stdin-before-running-install-scripts.patch (limited to 'libre/pacman/0002-Revert-close-stdin-before-running-install-scripts.patch') diff --git a/libre/pacman/0002-Revert-close-stdin-before-running-install-scripts.patch b/libre/pacman/0002-Revert-close-stdin-before-running-install-scripts.patch new file mode 100644 index 000000000..7a926dc16 --- /dev/null +++ b/libre/pacman/0002-Revert-close-stdin-before-running-install-scripts.patch @@ -0,0 +1,32 @@ +From 4a773b741fd6aca6e6f7183e40d40a06e9c65ee3 Mon Sep 17 00:00:00 2001 +From: Kevin Mihelich +Date: Sat, 30 Jan 2016 17:19:03 -0700 +Subject: [PATCH 2/2] Revert "close stdin before running install scripts" + +This reverts commit e374e6829cea3512f0b4a4069c5a6168f0f8d8a0. + +Arch Linux ARM packages have use cases for this feature, such as +prompting the user to flash a new kernel to a bare partition. Removing +this feature will undoubtedly cause more problems than it intends to +solve. + +Signed-off-by: Kevin Mihelich +--- + lib/libalpm/util.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c +index 001c042..f2d43ee 100644 +--- a/lib/libalpm/util.c ++++ b/lib/libalpm/util.c +@@ -602,7 +602,6 @@ int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[], + + if(pid == 0) { + /* this code runs for the child only (the actual chroot/exec) */ +- close(0); + close(1); + close(2); + while(dup2(child2parent_pipefd[1], 1) == -1 && errno == EINTR); +-- +2.7.0 + -- cgit v1.2.3