mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-25 10:01:27 +00:00
depends: lzma, drop tmpfs use in general
This commit is contained in:
parent
b8aaf1c164
commit
3aec55bd40
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (1.119) lucid; urgency=low
|
||||||
|
|
||||||
|
* Depends: lzma
|
||||||
|
* drop tmpfs in general while allowing a envvar to enable it again
|
||||||
|
|
||||||
|
-- LaMont Jones <lamont@ubuntu.com> Fri, 11 Jun 2010 08:37:17 -0600
|
||||||
|
|
||||||
livecd-rootfs (1.118) maverick; urgency=low
|
livecd-rootfs (1.118) maverick; urgency=low
|
||||||
|
|
||||||
* add temporary workaround for genext2fs bug 583317 (wrong filesystem
|
* add temporary workaround for genext2fs bug 583317 (wrong filesystem
|
||||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -8,7 +8,7 @@ Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk
|
|||||||
|
|
||||||
Package: livecd-rootfs
|
Package: livecd-rootfs
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}, debootstrap, rsync, python-minimal | python, procps, squashfs-tools (>= 1:3.3-1), grep-dctrl, fdupes, lsb-release
|
Depends: ${misc:Depends}, debootstrap, rsync, python-minimal | python, procps, squashfs-tools (>= 1:3.3-1), grep-dctrl, fdupes, lsb-release, lzma
|
||||||
Suggests: partimage
|
Suggests: partimage
|
||||||
Description: construction script for the livecd rootfs
|
Description: construction script for the livecd rootfs
|
||||||
livecd-rootfs provides the script used to create the root filesystem
|
livecd-rootfs provides the script used to create the root filesystem
|
||||||
|
@ -103,6 +103,7 @@ PPAMIRROR=ppa.launchpad.net
|
|||||||
ARCH=$(dpkg --print-architecture)
|
ARCH=$(dpkg --print-architecture)
|
||||||
OPTMIRROR=
|
OPTMIRROR=
|
||||||
INITRD_COMPRESSOR=lzma
|
INITRD_COMPRESSOR=lzma
|
||||||
|
TMPFS=no
|
||||||
|
|
||||||
select_mirror () {
|
select_mirror () {
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
@ -203,8 +204,8 @@ for FS in "$@"; do
|
|||||||
umount ${ROOT} || true
|
umount ${ROOT} || true
|
||||||
rm -rf ${ROOT}
|
rm -rf ${ROOT}
|
||||||
mkdir ${ROOT}
|
mkdir ${ROOT}
|
||||||
# if we are on amd64 and have > 1GB of RAM, use a tmpfs
|
# maybe use a tmpfs
|
||||||
if test $(uname -m) = x86_64 && awk '/^MemTotal:/ { exit !(int($2/1024) > 1024)}' /proc/meminfo; then
|
if test yes = "$TMPFS"; then
|
||||||
mount -t tmpfs -o size=8192M tmpfs ${ROOT} && echo using tmpfs
|
mount -t tmpfs -o size=8192M tmpfs ${ROOT} && echo using tmpfs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user