232 Commits

Author SHA1 Message Date
Oliver Grawert
0197758a0e use 500M spare space for ext2 images to compensate fileystem overhead, do not reserve space for root at fs creation 2010-07-26 14:25:30 +02:00
Oliver Grawert
bfe1f1f3f6 do not fail if losetup -d does not find a device 2010-07-23 10:39:13 +02:00
Oliver Grawert
eddc9d8589 add some debug output to the ext2 image creation to see whats going on 2010-07-22 18:29:04 +02:00
Oliver Grawert
39cd4aa3d3 add -F to mke2fs so it actually formats our filesystem image 2010-07-22 09:10:55 +02:00
Oliver Grawert
2bd2e11e5a switch ext2 image creation to use loop mounting instead of genext2fs 2010-07-21 15:14:52 +02:00
Steve Langasek
9f58353e84 One more undefined variable fix for set -u 2010-07-21 11:11:06 +02:00
Steve Langasek
486685ce2f Don't go overboard with the downgrading of packages; this probably caused
the rebuild failure attempts, we'll do without downgrading base packages
already installed by debootstrap in this use case.
2010-07-21 09:17:07 +02:00
Colin Watson
201ecdb0fe Make sure APT_SOURCE is always set. 2010-07-21 07:52:45 +01:00
Steve Langasek
da1105ea47 One more fix; if we're asking apt to downgrade packages, we have to
explicitly pass --force-yes.
2010-07-21 01:07:30 +02:00
Steve Langasek
8516513b28 Implement the -a option in the right place - in livecd.sh, not in
BuildLiveCD.
2010-07-20 22:36:25 +02:00
Oliver Grawert
d3c2baf997 add support for omap4 subarch and images 2010-07-02 09:42:47 +02:00
Steve Langasek
1d982b2f56 Revert to version 1.127: we do want the subarch in the filename so these
files can coexist in the same directory, as they do for all other archs.
2010-06-29 17:39:04 -07:00
Oliver Grawert
68f2b1d55d fix typo 2010-06-30 01:11:56 +02:00
Oliver Grawert
d98f901b93 do not mangle the project name by attaching the subarch to it on armel 2010-06-29 23:03:44 +02:00
Colin Watson
75e01632ca Set LIVE_BOOT_SCRIPTS to "casper lupin-casper" for non-jasper builds,
rather than leaving it empty.
2010-06-28 16:50:10 +01:00
Oliver Grawert
93ab847b80 make livecd.sh not fail if e2fsck returns non-zero (which is always the case with genext2fs images due to bug 583317) 2010-06-28 16:26:42 +02:00
Colin Watson
b415af1054 Make sure LIVE_BOOT_SCRIPTS is always defined. 2010-06-26 10:26:50 +01:00
Steve Langasek
d440eccc00 livecd.sh don't set a variable to itself, especially when the variable
is empty and causes build failures under set -u.
2010-06-25 21:58:59 -07:00
Oliver Grawert
8cea9b682d instead of special casing for only one arch, base jasper vs casper inclusion on the IMAGETYPE variable 2010-06-25 17:14:39 +02:00
Oliver Grawert
581444ae18 add special case to ubuntu-netbook on omap3 and 4, we want jasper instead of casper in the initramfs 2010-06-15 16:19:16 +02:00
LaMont Jones
3aec55bd40 depends: lzma, drop tmpfs use in general 2010-06-11 08:38:14 -06:00
Oliver Grawert
be00acce1f add temporary workaround for genext2fs bug 583317 (wrong filesystem revision for ext3 filesystems) 2010-06-10 07:37:49 +02:00
LaMont Jones
32711a8aa2 Only use tmpfs on amd64, due to space restrictions on the current
build machines.
2010-06-05 06:51:05 -06:00
Michael Casadevall
7a34296930 Changed the rm that removes state images to a wildcard to successfully remove all stale ext images 2010-06-01 10:45:25 -04:00
Michael Casadevall
9829c65af0 Fixed a typo and added a chmod to make the file behavior sane 2010-05-31 19:29:28 -04:00
Michael Casadevall
0978c0c7e7 Backed out loop-mount changes 2010-05-26 05:31:53 -04:00
Michael Casadevall
f367950cdb Changed genext2fs to loopmounting and added support for ext4 2010-05-26 01:35:52 -04:00
Michael Casadevall
6c1b069004 Renamed internal variable from IMAGE_FORMAT to IMAGEFORMAT 2010-05-17 15:34:42 -04:00
Michael Casadevall
a9defe1a47 fixed spacing in the livefs build code 2010-05-17 14:31:13 -04:00
Michael Casadevall
c88909a988 Actually made ext3 work 2010-05-17 13:56:52 -04:00
Michael Casadevall
c87828dd36 * added new -f switch for changing image build type
* added support for building ext2 and ext3 images in addition to squashfs
2010-05-17 12:59:17 -04:00
LaMont Jones
a5a4108d44 use a tmpfs for chroot-livecd if the machine has > 1GB of RAM, Release 1.115 2010-05-05 14:40:08 -06:00
Oliver Grawert
191a27c4a9 add STRIP_VMLINUZ=no for omap, remove extra subarch check and fix comment for STRIP_VMLINUZ 2010-04-20 13:19:59 +02:00
LaMont Jones
f0ffdb8c74 fix typo 2010-03-27 21:10:38 -06:00
LaMont Jones
0300db4752 need to chmod ltsp-live image 2010-03-26 20:24:27 -06:00
LaMont Jones
a4fbd97041 edubuntu-dvd/ltsp: mksquashfs needs the directory to exist 2010-03-26 19:10:13 -06:00
Steve Kowalik
8d9a5ed2f7 * Add support for armel+omap, and remove incorrect comments from the armel
kernel installation block.
* Really update the maintainer field.
2010-03-25 00:45:22 +11:00
LaMont Jones
f503ef620c build ltsp image as part of edubuntu-dvd/i386, depends ltsp-server. LP: #531546
use mksquashfs directly, instead of ltsp-update-image
fix typo checking for kubuntu-ish releases vs icon-theme.cache
Make me the maintainer.
2010-03-24 07:30:47 -06:00
Jonathan Riddell
88c53a5caf Delete Gnome icon cache for Kubuntu images 2010-02-23 17:52:27 +00:00
Steve Langasek
bb5753273b Edubuntu is allowed to pull from universe; update livecd.sh accordingly 2010-01-26 17:15:12 -08:00
Steve Kowalik
f734a0bbc7 Rename Ubuntu Netbook Remix to Ubuntu Netbook. 2009-12-18 14:20:01 +11:00
Oliver Grawert
0a8cb0908a make sure we have no old squashfs around before attempting to run mksquashfs 2009-12-07 11:30:21 +01:00
Evan Dandrea
6442b5d60b Don't output a newline in filesystem.size. 2009-11-19 14:57:06 -06:00
Evan Dandrea
9906d2d8e4 Write out the total size of uncompressed squashfs to be used by
partman and ubiquity.
2009-11-18 12:09:41 -06:00
Loïc Minier
23e5cc98b6 UNR LIVELIST: list lupin-casper and laptop-detect explicitly and drop
ubiquity which is in the live seed already.  Fixes lack of wubi support in
UNR images; LP: #457246.
2009-10-22 14:08:33 +02:00
Loïc Minier
d669d7143a Also change computation of Origin field for PPAs when generating the final
APT config; ideally we wouldn't have to duplicate this code though;
perhaps the removal of APT preferences file can be limited to hardy too.
Also add an Explanation: header in the final preferences.
2009-10-04 13:38:41 +02:00
Loïc Minier
17ab6945cc Run apt-get update one more time after installing the moblin keyring
package, to promote Release.gpg from APT's lists/partial/ to lists/.
Ideally APT would do that for us on apt-key updates.
2009-10-04 12:31:42 +02:00
Loïc Minier
e8f5e89ca4 Remove ${ROOT}var/cache/apt/{,src}pkgcache.bin after installing the moblin
keyring package, workaround for LP #442082.
2009-10-04 12:28:43 +02:00
Loïc Minier
d5d9c8369a Move the code taking a backup of the APT trusted keyring to just after
sources.list generation (this is safe since there's no apt call inbetween)
and move the installation of the moblin-archive-keyring just before the
backup is taken; this allows dropping the hack of reinstalling the keyring
package at the end of the build.  It might break apt-get update for UMR
before the host keys are appended to the trusted keyring though.
2009-10-03 22:22:21 +02:00
Loïc Minier
e5a529f136 Fix computation of Origin fields for PPAs named "ppa" and document the
exception along with the expected format for the PPA var in comments.
2009-10-03 22:09:01 +02:00