depend python, cleanup unmounting loopback

ubuntu/precise
LaMont Jones 20 years ago
parent fd7c8edfcc
commit 68569c4daa

4
debian/control vendored

@ -1,13 +1,13 @@
Source: livecd-rootfs
Section: devel
Priority: optional
Build-Depends: sudo, debootstrap, rsync, cloop-utils, debhelper
Build-Depends: sudo, debootstrap, rsync, cloop-utils, debhelper, python-minimal|python
Maintainer: LaMont Jones <lamont@canonical.com>
Standards-Version: 3.6.1.0
Package: livecd-rootfs
Architecture: any
Depends: sudo, debootstrap, rsync, cloop-utils
Depends: sudo, debootstrap, rsync, cloop-utils, python-minimal|python
Description: Construction script for the livecd rootfs
livecd-rootfs provides the script used to create the root filesystem
on the livecd.

3
debian/livecd.sh vendored

@ -27,7 +27,7 @@ esac
ROOT=$(pwd)/chroot-livecd/
IMG=livecd.fsimg
MOUNTS="${ROOT}dev/pts ${ROOT}dev/shm ${ROOT}.dev ${ROOT}dev $(pwd)/$IMG ${ROOT}proc"
MOUNTS="${ROOT}dev/pts ${ROOT}dev/shm ${ROOT}.dev ${ROOT}dev ${ROOT}proc"
rm -rf ${ROOT}
@ -121,6 +121,7 @@ mke2fs $INUM -Osparse_super -F $IMG
DEV=$(losetup -f);
losetup $DEV $IMG
mkdir -p livecd.mnt
MOUNTS="$MOUNTS $(pwd)/livecd.mnt"
mount $DEV livecd.mnt
rsync -a ${ROOT}/ livecd.mnt

Loading…
Cancel
Save