Format: 1.8 Date: Tue, 14 Jul 2015 17:11:52 +0000 Source: bilibop Binary: bilibop bilibop-common bilibop-lockfs bilibop-rules bilibop-udev Architecture: arm64 Version: 0.5.0 Distribution: wily Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Yann Amar Description: bilibop - run Debian GNU/Linux from external media - metapackage bilibop-common - shell functions for bilibop scripts bilibop-lockfs - lock filesystems and write changes into RAM bilibop-rules - device management rules for OS running from external media bilibop-udev - minimal udev rule for Debian GNU/Linux running from external medi Closes: 772187 778497 Changes: bilibop (0.5.0) unstable; urgency=medium . * bilibop-common: add support for overlayfs (in mainline kernel since 3.18). Closes: #778497; new funcions in common.sh: - canonpath(): clean field separators in an arbitrary filepath - is_overlay_mountpoint(): grep /proc/mounts for 'overlay' filesystem - overlay_mountpoints(): doing the same as aufs_mountpoints() - overlay_lowerdir(): output the cleaned value of lowerdir= mount option - overlay_upperdir(): output the cleaned value of upperdir= mount option - overlay_workdir() - underlying_device_from_overlayfs(): find the underlying device from the 'lowerdir' value; fallback to live-boot (5.0~a1-1) usecases. Also modify underlying_device_from_file() to call the previous one. * bilibop-common: add support for btrfs. A file on a btrfs mountpoint is not directly mapped to the underlying block device: 'stat -c %D FILE' shows that the file seems to be on some kind of ramfs (major=0). So add two functions in common.sh: - is_btrfs_mountpoint() - underlying_device_from_btrfs() Also modify underlying_device_from_file() to call the previous one. * bilibop-common: modify other functions in common.sh: - underlying_device_from_aufs(): do not fail if the underlying device contains btrfs; now use aufs_readonly_branch() instead of aufs_dirs(), and call underlying_device_from_file() if the major number of the underlying device is 0 (be aware of a possible endless loop) - aufs_dirs(), aufs_readonly_branch() and aufs_writable_branch(): replace occurencies of glob pattern 'br*' by 'br?' to skip brid[01] files - underlying_device_from_file(), do not return 1 too early; let the last test say if the funcion failed or not - underlying_device_from_loop(): for the case the backing file itself is on btrfs, aufs or overlay, i.e. call underlying_device_from_file() from there too - find_mountpoint() and device_id_of_file(): to work around overlayfs specific design (files and dirs are not treated the same way) - underlying_device(): remove unneeded local variable assignment * bilibop-common: update copyright, README section and physical_hard_disk() dependency tree in common.sh * bilibop-common: update README.Debian, bilibop(7) and bilibop.conf(5). . * bilibop-lockfs: add support for overlayfs. - Modify local-bottom/bilibop-lockfs initramfs script: define $METHOD as the aufs or overlay module that is supported by the kernel, and use its value to setup specific mount options and mount points. Allow one to override the default directory name by setting BILIBOP_LOCKFS_PATH_PREFIX - Modify initramfs hook (+ manual_add_module overlay) Improve the part of the script related to mount commands (mount -t tmpfs, mount -o bind, mount -o move, ...). Make sure the paths of the branches used to build the union fs will be consistent at runtime (for both overlay, and aufs with brs=0), as the only one places to get those paths (e.g. mount options field in /proc/mounts) is out of sync. - Rewrite lockfs_mount_helper script, according to the initramfs script; prepare directory trees and add/modify comments. Change mount order; now the tmpfs mountpoint is set BEFORE the readonly branch, the last one being, by design (bilibop), a subdirectory of the first one. Introduce a new tunable variable BILIBOP_LOCKFS_PATH_SCHEME to choose the directory structure of the lower and upper branches. - Also modify lockfs-notify accordingly to support overlay filesystem * bilibop-lockfs: modify blacklist_bilibop_devices() in lockfs.sh. Manually add lvm-pv-uuid-* symlink to the list, as the udev rules creating it are not included into the initramdisk. * bilibop-lockfs: update README.Debian and lockfs_mount_helper(8) . * bilibop-rules: modify initramfs script. The busybox's readlink implementation does not work as expected (with -f flag) and does not resolve the target of a broken symlink; so replace the readlink call by a 'ls -l | sed' command. * bilibop-rules: modify lsbilibop. Remove '\n' in echo, as it is not supported by all shells, and call echo again to print an empty line (closes: #772187). * bilibop-rules: update lsbilibop(8) . * bilibop-udev: update README.Debian . * debian/control: bump Standards-Version to 3.9.6 (no changes needed). Update extended descriptions. * debian: modify bilibop-{lockfs,rules}.post{inst,rm}: use 'which' to test availability of update-initramfs command instead of testing its full path, to avoid a lintian warning. Checksums-Sha1: 603290f8f6ed42aed42d9b8516b0c6fcbc8f1478 66308 bilibop-common_0.5.0_arm64.deb 7479322b2da375958b35dada81a95e3711d6a9f1 34970 bilibop-lockfs_0.5.0_arm64.deb 0ac7fc6686b0762d554a1a6d57de16525453cf8a 60962 bilibop-rules_0.5.0_arm64.deb 6ec0cc70eec17f90202bea975bc4bc2849e5fdc6 3944 bilibop-udev_0.5.0_arm64.deb 9f6c021497fd58881289d3a3fc7b030b8bd7c8ce 1832 bilibop_0.5.0_arm64.deb Checksums-Sha256: 808bcd2566c1180014b517a0128f99044eb5a265301c142be0e15cb75167e242 66308 bilibop-common_0.5.0_arm64.deb d8d0756bd2a8b8982b1893b3b0f6d2c0824016b7bda98fdcc4691920f8583c15 34970 bilibop-lockfs_0.5.0_arm64.deb 29e2e728b0905eae92783438301df2afdc3d1af4a6aaf45d9a13bf4885fa60af 60962 bilibop-rules_0.5.0_arm64.deb a6ef03ae471adaab5ff690946a6e2e62fab8fc1106b85b919869935ec3670501 3944 bilibop-udev_0.5.0_arm64.deb e02fd3d1f6ca1c66b987148453a5dc1179c04663b89a7ef3cebe2eb22d9288c2 1832 bilibop_0.5.0_arm64.deb Files: 5b52b2e0549752a561a84867edb4edc4 66308 admin optional bilibop-common_0.5.0_arm64.deb 9401b953a25eae569ce38816bf327e6b 34970 admin optional bilibop-lockfs_0.5.0_arm64.deb 850acbbd80ae6f8c461745d41af1a440 60962 admin extra bilibop-rules_0.5.0_arm64.deb b1aa261c74bebbbf38cf84a4d85d5e57 3944 admin optional bilibop-udev_0.5.0_arm64.deb 9bf7820f9e74a3521be66875fc795b79 1832 metapackages extra bilibop_0.5.0_arm64.deb