summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-software.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-03-12 21:33:36 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2009-03-12 21:33:36 +0100
commita97a7ec396b082f8315a46bf57875c4088a9bbc8 (patch)
tree1004893ab97b3932708701aac2e5a8386e674887 /src/core/libs/lib-software.sh
parenta6cc5cce7cf5d8a18f605c2764f57b512b5c8683 (diff)
support for storing the pid of background wrapper processes + support for non-blocking following of text files (eg tail --pid)
Diffstat (limited to 'src/core/libs/lib-software.sh')
-rw-r--r--src/core/libs/lib-software.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-software.sh b/src/core/libs/lib-software.sh
index 5969ab6..51a6539 100644
--- a/src/core/libs/lib-software.sh
+++ b/src/core/libs/lib-software.sh
@@ -10,7 +10,7 @@ run_mkinitcpio()
target_special_fs on
run_background mkinitcpio "chroot $var_TARGET_DIR /sbin/mkinitcpio -p kernel26" $TMP_MKINITCPIO_LOG
- follow_progress "Rebuilding initcpio images ..." $TMP_MKINITCPIO_LOG
+ follow_progress "Rebuilding initcpio images ..." $TMP_MKINITCPIO_LOG $BACKGROUND_PID
wait_for mkinitcpio
target_special_fs off
@@ -31,7 +31,7 @@ installpkg() {
[ -n "$TARGET_GROUPS" ] && ALL_PACKAGES="$ALL_PACKAGES "`list_packages group "$TARGET_GROUPS" | awk '{print $2}'`
ALL_PACKAGES=`echo $ALL_PACKAGES`
run_background pacman_installpkg "$PACMAN_TARGET --noconfirm -S $ALL_PACKAGES" $TMP_PACMAN_LOG #TODO: There may be something wrong here. See http://projects.archlinux.org/?p=installer.git;a=commitdiff;h=f504e9ecfb9ecf1952bd8dcce7efe941e74db946 ASKDEV (Simo)
- follow_progress " Installing... Please Wait " $TMP_PACMAN_LOG
+ follow_progress " Installing... Please Wait " $TMP_PACMAN_LOG $BACKGROUND_PID
wait_for pacman_installpkg