This is for active development.
New funtionalities are to be added actively.
リビジョン | 717d2038525ad27c73fcb10df9e336c92a3d18cd (tree) |
---|---|
日時 | 2018-07-18 00:23:42 |
作者 | Mamoru Sakaue / MwGhennndo <glmwghennndo@user...> |
コミッター | Mamoru Sakaue / MwGhennndo |
Fixed a problem that portsreinstall-chroot aborted by error when unmount/clean command is executed after unmounting once.
modified: lib/chroot/libfs.sh
modified: lib/libmain.sh
@@ -343,7 +343,8 @@ fs_unmount () | ||
343 | 343 | [ -e "${DBDIR}/mount_manifest" ] || return 0 |
344 | 344 | message_echo "Unmounting the file systems for builder chroot." |
345 | 345 | fs_gen_fstab |
346 | - if ! umount -F "${DBDIR}/fstab" -af || ! fs_chk_unmount "$systembase" | |
346 | + umount -F "${DBDIR}/fstab" -af 2> /dev/null || : | |
347 | + if ! fs_chk_unmount "$systembase" | |
347 | 348 | then |
348 | 349 | message_echo "WARNING: Failed to unmount the file systems. Some of them remain mounted." >&2 |
349 | 350 | return 1 |
@@ -12,7 +12,7 @@ main_set_version () | ||
12 | 12 | MYVERSION=4.0.1 |
13 | 13 | COMPATIBLE_VERSIONS='^(4\.[0]\.[0-1])$' |
14 | 14 | # Template for development versions |
15 | - MYVERSION=4.0.0+toward_4.0.1_20180717230443 | |
15 | + MYVERSION=4.0.0+toward_4.0.1_20180717232318 | |
16 | 16 | COMPATIBLE_VERSIONS='^(4\.[0]\.[0-1]]|4\.[0]\.[0]+(|\+toward_4\.[0]\.[1]+_[0-9]+))$' |
17 | 17 | } |
18 | 18 |