diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-06-06 18:29:07 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-06-06 18:43:56 +0200 |
| commit | e243babf191d5b42efe58e90e74a22bd8063be8d (patch) | |
| tree | d29c3630f8235f98395450b4b3c499580b1f625e /scripts/boot/mountroot.sh | |
| parent | f04ab476c668ad513f1ec68beaa948a26c862e05 (diff) | |
| download | live-boot-e243babf191d5b42efe58e90e74a22bd8063be8d.tar.gz live-boot-e243babf191d5b42efe58e90e74a22bd8063be8d.zip | |
Dropping snapshot functionality, superseeded by awesome custom mount persistence.
See the following threads for more information:
* http://lists.debian.org/debian-live/2012/04/msg00110.html
* http://lists.debian.org/debian-live/2012/06/msg00039.html
Diffstat (limited to 'scripts/boot/mountroot.sh')
| -rwxr-xr-x | scripts/boot/mountroot.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/boot/mountroot.sh b/scripts/boot/mountroot.sh index bad0a78..dbc66d4 100755 --- a/scripts/boot/mountroot.sh +++ b/scripts/boot/mountroot.sh @@ -184,18 +184,6 @@ mountroot () fi fi - # copy snapshot configuration if exists - if [ -f snapshot.conf ] - then - log_begin_msg "Copying snapshot.conf to ${rootmnt}/etc/live/boot.d" - if [ ! -d "${rootmnt}/etc/live/boot.d" ] - then - mkdir -p "${rootmnt}/etc/live/boot.d" - fi - cp snapshot.conf "${rootmnt}/etc/live/boot.d/" - log_end_msg - fi - if [ -f /etc/resolv.conf ] && [ ! -s ${rootmnt}/etc/resolv.conf ] then log_begin_msg "Copying /etc/resolv.conf to ${rootmnt}/etc/resolv.conf" @@ -208,7 +196,6 @@ mountroot () panic "A wrong rootfs was mounted." fi - persistence_exclude fstab Netbase |
