View | Details | Raw Unified | Return to bug 28181
Collapse All | Expand All

(-)a/installer/preinstall.d/11-remount.sh (-1 / +6 lines)
Lines 4-9 Link Here
4
4
5
ME=11-remount
5
ME=11-remount
6
6
7
# NB: use 'set -x' here to debug
8
7
exec 2>/tmp/"$ME".log >&2
9
exec 2>/tmp/"$ME".log >&2
8
10
9
. install2-init-functions
11
. install2-init-functions
Lines 24-29 if [ -f "$destdir/etc/lvm/lvm.conf" ]; then Link Here
24
	cp -p "$destdir/etc/lvm/lvm.conf" /etc/lvm
26
	cp -p "$destdir/etc/lvm/lvm.conf" /etc/lvm
25
fi
27
fi
26
28
29
chroot "$destdir" swapoff -a
30
27
umount "$destdir/dev/pts"
31
umount "$destdir/dev/pts"
28
chroot "$destdir" umount -a
32
chroot "$destdir" umount -a
29
33
Lines 80-83 mount -t sysfs sysfs "$destdir/sys" Link Here
80
mount -t proc proc "$destdir/proc"
84
mount -t proc proc "$destdir/proc"
81
chroot "$destdir" mount -a ||:
85
chroot "$destdir" mount -a ||:
82
86
87
chroot "$destdir" swapon -a
88
83
# NB: use "sleep 3600" here to debug :)
89
# NB: use "sleep 3600" here to debug :)
84
- 

Return to bug 28181