Codebase list live-installer / 37ff827
Detach loop devices and unmount filesystems so that CD-ROM ejection in finish-install doesn't fail. (Closes: #528480) r58601 Chris Lamb 15 years ago
6 changed file(s) with 25 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 live-installer (10) UNRELEASED; urgency=low
1
2 * Detach loop devices and unmount filesystems so that CD-ROM ejection in
3 finish-install doesn't fail. (Closes: #528480)
4
5 -- Chris Lamb <lamby@debian.org> Sat, 16 May 2009 01:25:14 +0100
6
07 live-installer (9) unstable; urgency=low
18
29 * busybox-udeb now supports tar creation, so don't use tar from the live
5555 )
5656 exec 0>&4
5757 IFS=$OLD_IFS
58
59 chdir /
60 eval ${SUPPORT}_teardown
5861 done
5962
6063 if [ ${PLACE_FOUND} -eq 0 ]; then
66 cd $place
77 }
88
9 dir_teardown() {
10 }
11
912 dir_count() {
1013 echo `find . | wc -l`
1114 }
1515 cd /mnt
1616 }
1717
18 ext2_teardown() {
19 umount -d /mnt > /dev/null 2>&1 || true
20 }
21
1822 ext2_count() {
1923 echo `print-inodes /mnt`
2024 }
1515 cd /mnt
1616 }
1717
18 ext3_teardown() {
19 umount -d /mnt > /dev/null 2>&1 || true
20 }
21
1822 ext3_count() {
1923 echo `print-inodes /mnt`
2024 }
1616 cd /mnt
1717 }
1818
19 squashfs_teardown() {
20 umount -d /mnt > /dev/null 2>&1 || true
21 }
22
1923 squashfs_count() {
2024 echo `print-inodes /mnt`
2125 }