mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-22 14:10:39 +01:00
integrate-distro.sh: Running sync before unmount
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
59a085fce3
commit
bfcbd76e2e
1 changed files with 3 additions and 2 deletions
|
|
@ -33,7 +33,6 @@ case $suse_version in
|
||||||
java-1_6_0-sun-plugin.i586
|
java-1_6_0-sun-plugin.i586
|
||||||
|
|
||||||
grep
|
grep
|
||||||
mkinitrd
|
|
||||||
insserv
|
insserv
|
||||||
cpio
|
cpio
|
||||||
sysconfig
|
sysconfig
|
||||||
|
|
@ -297,7 +296,7 @@ tumbleweed)
|
||||||
#kernel_version=4.8.0_rc6_jux+-1
|
#kernel_version=4.8.0_rc6_jux+-1
|
||||||
#rpm_kernel_version=4.8.0_rc6_jux+-1
|
#rpm_kernel_version=4.8.0_rc6_jux+-1
|
||||||
kernel_version=4.8.0-swm+
|
kernel_version=4.8.0-swm+
|
||||||
rpm_kernel_version=4.8.0_swm+-5
|
rpm_kernel_version=4.8.0_swm+-79
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
@ -817,6 +816,8 @@ unmount_devices()
|
||||||
{
|
{
|
||||||
local devices="$ssh_auth_sock /srv/ftp /proc /sys /dev /boot /"
|
local devices="$ssh_auth_sock /srv/ftp /proc /sys /dev /boot /"
|
||||||
[ "$1" ] && devices="$@"
|
[ "$1" ] && devices="$@"
|
||||||
|
local sync=/usr/bin/sync
|
||||||
|
[ -x $root/$sync ] && run_chroot $sync
|
||||||
local d
|
local d
|
||||||
for d in $devices; do
|
for d in $devices; do
|
||||||
check_mount $d && run umount $root$d
|
check_mount $d && run umount $root$d
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue