Steve Langasek
203eb6251f
mkdir our assertions dir
7 years ago
Steve Langasek
ff575bd93d
add ubuntu-mate to the set of projects we add snap model assertions to.
7 years ago
Steve Langasek
12b07ae5af
move snap assertion handling into the generic build script (and, in
...
the process, from the subiquity overlay to the base squashfs).
7 years ago
Steve Langasek
4561f17d35
Merge lp:~rbalint/livecd-rootfs/minimized
7 years ago
Balint Reczey
f0cb85a506
When SUBPROJECT environment variable is not set assume it to be ""
7 years ago
Balint Reczey
2ef2aee456
Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency
7 years ago
Balint Reczey
d496915741
Warn users that unminimize may fail reinstalling packages
7 years ago
Balint Reczey
69c1eb6d26
Mention unminimize script in motd
7 years ago
Balint Reczey
2858d7fb62
Print the documentation files which could not be restored by unminimize
7 years ago
Balint Reczey
e28933a1d5
Explain why unminimization script is a bit complicated
7 years ago
Balint Reczey
583d813b9b
Verify only documentation that should have been restored after unminimization
7 years ago
Balint Reczey
3532fa0b18
Use "dpkg --verify-format rpm" explicitly to be safe when the default changes
7 years ago
Balint Reczey
11da0c59a5
Fix typo
7 years ago
Balint Reczey
d5483eb728
Install ubuntu-minimal while unminimizing the system
7 years ago
Balint Reczey
6672dde922
Add unminimize script for reverting minimization on running system
7 years ago
Balint Reczey
bb7e620701
Drop man pages and most of the documentation from minimized images
...
/usr/share/doc/*/copyright and changelog.Debian.gz files are still kept
7 years ago
Steve Langasek
83f165ec91
if we're using SUBPROJECT=minimize, and tzdata is not installed, remove
...
files that have been left behind. This is a workaround for a bug that should
be fixed in tzdata.
7 years ago
Balint Reczey
cfda7d20bd
Use xz -T4 -0 instead of pxz
...
Test showed very little difference in file-size between -0 and -9 while
both compression and decompression need much less memory and compression
needs less CPU time for -0.
Supported xz versions before 5.2 also accept the -T4 option but ignore it.
Also depend on xz-utils instead of on pxz.
LP: #1701132
8 years ago
Balint Reczey
6c9cf10d72
Depend on pxz and vmdk-stream-converter instead of installing them at runtime
8 years ago
Steve Langasek
dbba32fae6
For now, make sure all automated image builds are on the edge channel.
...
Eventually we will want to pass the channel as build metadata instead.
8 years ago
Steve Langasek
4f2c623e27
Use xz to compress ubuntu-image .img files before transfer, so that we
...
have smaller downloads and retain file sparseness everywhere.
8 years ago
Balint Reczey
0109d5304e
Optionally use ubuntu-image for building snap based images
8 years ago
Balint Reczey
44f9dceeb4
Require PROJECT environment to be set for lb build
8 years ago
Martin Pitt
e40e563cb8
live-build/auto/build: Fix typo in netplan policy snippet.
...
*brown paperbag* (LP: #1615180 )
8 years ago
Martin Pitt
3c3737327f
live-build/auto/build: Move NetworkManager configuration to the right
...
place.
8 years ago
Martin Pitt
d9ce44d73a
live-build/auto/build: If the image pre-installs network-manager, let it
...
manage all devices by default by shipping a default netplan policy.
Installing NM on an existing system only manages wifi and wwan, to avoid
interfering with networkd managed devices on existing server/cloud
instances.
8 years ago
Oliver Grawert
418501bc65
slightly adjust the version handling for the core snap, drop suffix from kernel snap version string
9 years ago
Oliver Grawert
f6058dfdb4
sanitize the version number of the ubuntu-core snap
9 years ago
Łukasz 'sil2100' Zemczak
9608064276
ubuntu-pd is dead, long live ubuntu-touch-custom - introduce a new project ubuntu-touch-custom that is exactly the same as ubuntu-touch but uses a separate cdimage project (separate builder space).
9 years ago
Adam Conrad
da54fe4c3e
Fix security mirror sources.list entries for non-x86 architectures.
9 years ago
Steve Langasek
6c5dc72d80
Merge lp:~daniel-thewatkins/livecd-rootfs/enable-backports
9 years ago
Michael Vogt
460d363b84
fix corename
9 years ago
Daniel Watkins
8940890039
Remove some trailing spaces
9 years ago
Daniel Watkins
79cf11a25a
Use the correct (pre-xenial) universe sources.list comment
9 years ago
Daniel Watkins
407cd3b812
Replace sources.list generated using COMPONENTS with the sources.list from
...
an Ubuntu Server installation (i.e. with all components enabled, and all
deb-src lines commented).
9 years ago
Oliver Grawert
e9c7cee3de
revert the renaming from ubuntu-core to core for the os snap until snapd is ready for this
9 years ago
Oliver Grawert
0ffbd3a7cc
drop "execution" from os snap description
9 years ago
Oliver Grawert
2db1eb2155
rename the ubuntu-core snap to simply be "core"
9 years ago
Daniel Watkins
e690e4bdf7
[CPC] Don't overwrite the default sources.list
...
We've received a request not to do so (LP: #1513529 ) and cloud-init applies it
(or something similar to it) at boot anyway, so the list we're putting in place
isn't generally used.
9 years ago
Michael Vogt
d617d8f840
update kernel snap building to match the new kernel policy
9 years ago
Michael Vogt
15ed930293
add meta/kernel.yaml to the kernel snaps
9 years ago
Oliver Grawert
6bd3aaffc1
drop linux-firmware-raspi2 from snappy
9 years ago
Iain Lane
e5142015a3
Fix syntax error.
9 years ago
Oliver Grawert
8d145b4d43
move the snappy kernel builds to the correct linux-image-$arch and linux-firmware-$arch metapackages
9 years ago
Oliver Grawert
814311e826
snappy: make ppc64el and s390x os tarball builds work
9 years ago
Oliver Grawert
e7723219a3
switch snappy package builds from "snappy build" to "snapcraft snap" (LP: #1557515 )
9 years ago
Oliver Grawert
60c9b694c4
adjust snap versions to only have one dash and use plus chars instead
9 years ago
Oliver Grawert
c5905d18b6
add link for wlan mac address in dragonboard kernel snaps, move dragonboard kernel snap to linux-snapdragon
9 years ago
Oliver Grawert
eba875e96c
add support for dragonboard kernel snap
9 years ago
Michael Vogt
5439a48096
add dpkg.list to assets of the kernel snap
9 years ago
Oliver Grawert
9a9e8685f9
add snap building for kernel snaps
9 years ago
Oliver Grawert
768445efda
adjust naming to something easier consumable for cdimage of os snap in snappy builds
9 years ago
Oliver Grawert
6d4209f62c
add .snap cration for ubuntu-core snappy rootfs builds
9 years ago
Łukasz 'sil2100' Zemczak
1865c71a24
Remove the manta device from the list of touchsubarches as we're not building its kernel anymore.
9 years ago
Michael Vogt
06ce71492b
auto/build: copy kenrel chroot dpkg.list to assets dir
9 years ago
Michael Vogt
51a5cca323
* ubuntu-core:
...
- include the dpkg.list in the device tarball
- store /usr/share/snappy/dpkg.list manifest on the OS tarball
9 years ago
Oliver Grawert
dd4f845255
do not ship assets/dtbs/overlays in raspi2 tarball, it breaks ubuntu-device-flash
9 years ago
Oliver Grawert
5bc78bede3
add raspi2 device tarball creation. separate snappy device tarball builds completely from the rootfs. drop old way of in-tree device tarball creation for snappy
9 years ago
Daniel Watkins
216762748b
Move building of all architecture-specific CPC artifacts in to
...
Launchpad.
9 years ago
Łukasz 'sil2100' Zemczak
e0fcd94074
Switch to the project approach, add a symlink for the hooks
9 years ago
Oliver Grawert
5e6b64e039
drop copying of zip files of the android package, we do not generate these anymore
10 years ago
Sebastien Bacher
f127f1ac73
Remove duplicated code leftover in the previous desktop-next changeset
10 years ago
Didier Roche
b79dcfc1b7
Experimenting transforming ubuntu-desktop-next to a system-image base
10 years ago
Oliver Grawert
7bb4d3ae8a
drop grouper from touch
10 years ago
Adam Conrad
4d877550bd
Call Setup_cleanup in live-build/auto/build to set exit handler.
10 years ago
Didier Roche
db631a4d2f
fix some typo and take colin's feedback into account
10 years ago
Didier Roche
b35e94e457
add build main configs
10 years ago
Daniel Watkins
e87232b513
Ensure we ship results of apt-get update.
10 years ago
Daniel Watkins
1f50356409
Put correct apt sources in place.
10 years ago
Oliver Grawert
fb4a832699
add more verbosity to the copy command for android fragments in ubuntu-touch
10 years ago
Oliver Grawert
a43bfeffcf
remove all .override files inside the chroot to not kill the buildd
10 years ago
Michael Vogt
fcfe7d613a
* live-build/auto/{build,config}:
...
- create device-azure.tar.gz during the build that includes the
packages for the azure cloud
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
- display helpful message to use snappy when a user tries to use
apt-get on a snappy system
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- do the device-azure.tar.gz extraction here
* live-build/ubuntu-core/hooks/12-add-docker-user.chroot:
- ensure docker group is used
10 years ago
Michael Vogt
a618ff72fe
* live-build/auto/build:
...
- system-image: collect the deivce.tar.gz
* live-build/ubuntu-core/hooks/09-move-kernel-to-device-tar.binary:
- create a device.tar.gz from the installed kernel/modules and
remove it from the rootfs
* live-build/ubuntu-core/hooks/10-remove-documentation.binary:
- strip documentation
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- remove extra packages like libicu52/libqt that are still on the
image because vivid system-image has a dependency on u-d-m which
depends on libqt
* live-build/ubuntu-core/hooks/12-add-docker-user.chroot:
- add a docker user/group into the image (this can go once we have
a hook for this)
10 years ago
Steve Langasek
b6d1950e37
Fix a typo
10 years ago
Steve Langasek
138465c476
Add support to the ubuntu-touch target to generate a separate custom
...
tarball as part of the build, moving most click packages into it.
10 years ago
Colin Watson
126432d844
Make the output kernel/initrd world-readable in a couple more cases,
...
particularly relevant to ubuntu-defaults-image (LP: #1334616 ).
11 years ago
Colin Watson
c7ba55e819
Drop fdupes analysis: not widely used any more, can be done separately
...
if needed, and very noisy in build logs.
11 years ago
Ricardo Salveti de Araujo
0fe1485ba8
Adding support for ubuntu-touch i386 based images
11 years ago
Oliver Grawert
5602f1e926
dropping maguro and adding flo, changing golfish to generic in touchsubarches
11 years ago
Oliver Grawert
d0e663b470
add support for copying goldfish android images out of the android package
11 years ago
Stéphane Graber
a9e80f9118
releasing version 2.198
11 years ago
Oliver Grawert
06b96f94ed
fix the prefixing of click packages in manifest files
11 years ago
Oliver Grawert
7fdb743882
prefix click packages in the manifest file with "click:"
11 years ago
Oliver Grawert
3d0f8e22d5
list click packages in teh manifest file on ubuntu touch
11 years ago
Oliver Grawert
16bc6cb9b3
preserve a symlink of media-info for backwards compatibility
12 years ago
Oliver Grawert
a1092a9c13
move media-info file from /var/log/installer to /etc on touch images
12 years ago
Oliver Grawert
f897e608df
seems unlike my local build the buildd doesnt get along with links, use copy instead
12 years ago
Oliver Grawert
17fcb0f65a
fix package mirror in android package install routine
12 years ago
Oliver Grawert
74ce6409a4
switch touch builds to use the packaged android img files (pending cdimage changes to publish these from the livefs builder)
12 years ago
Oliver Grawert
47d569d8bc
make sure FLASH_KERNEL_SKIP is set when we post-process touch images
12 years ago
Oliver Grawert
557de06383
try to hand the exported $NOW over from live-build/auto/config as $BUILDSTAMP
12 years ago
Oliver Grawert
8c9f0350b0
make sure bootimgs are created in /boot of the chroot and only copied from outside the chroot afterwards
12 years ago
Colin Watson
0eaec780a0
live-build/auto/build: Fix syntax error.
12 years ago
Oliver Grawert
cf8a492d00
use the packaged generic initrd for touch images
12 years ago
Oliver Grawert
9a79d68d7d
export $NOW in BuildLiveCD and use that var inside Ubuntu Touch builds to create /var/log/installer/media-info
12 years ago
Oliver Grawert
04ac56d2b6
drop the generic .bootimg from ubuntu-touch, all boot images we need have to be subarch tagged
12 years ago
Oliver Grawert
e7c4acc158
adjust naming of the touch bootimg files so cdimage picks them up for publishing
12 years ago
Adam Conrad
1b5c986fbb
Clean up subarch loop for touch subarches to skip unwanted deps.
12 years ago
Oliver Grawert
2756b26952
drop ubuntu-tuch cleanup code, should not affect teh tarball. fix quoting of abootimg and update-initramfs calls
12 years ago
Oliver Grawert
b932a9dbf2
copy the initrd out of the chroot before we purge the kernel package on ubuntu-touch
12 years ago
Oliver Grawert
2afcb7b21c
make failing removal of non existing old initrds non fatal in ubuntu-touch
12 years ago
Oliver Grawert
7535aeaedf
hardcode dist in the temporary sources.list of the ubuntu-touch initrd creation for a test
12 years ago
Oliver Grawert
c4064d69e0
fix resolv.conf for ubuntu-touch initramfs creation
12 years ago
Oliver Grawert
f95a12af84
also move the sources.list.d dir out of the way on ubuntu-touch
12 years ago
Oliver Grawert
3ff5a4a4db
handle sources.list in ubuntu-touch initrd creation
12 years ago
Oliver Grawert
e7feae4838
clean chroot/var/lib/initramfs-tools/ after building initrds
12 years ago
Oliver Grawert
b870dec921
determine the value for $kver inside the chroot, use -c and drop -t with update-initramfs for ubuntu-touch
12 years ago
Oliver Grawert
ce32cc1fe6
add live-build script for subarch specific Ubuntu Touch initrd and boot image creation
12 years ago
Colin Watson
af1c3724e7
Copy binary-tar.tar.gz to $PREFIX.rootfs.tar.gz if it exists.
12 years ago
Colin Watson
c304ced763
live-build/auto/build: Use slightly safer code for kernel handling just
...
in case 'set -o pipefail' is ever reinstated here.
12 years ago
Colin Watson
4c8d8ea4d2
Make sure the $PREFIX.kernel-$FLAVOUR.efi.signed output is
...
world-readable.
12 years ago
Oliver Grawert
49e75ffbcd
make the bootimg.cfg file handling subarch based instead of having two code paths, create a media-info file with build timestamp for preinstalled ac100 and nexus7 images
12 years ago
Colin Watson
c2d2c4d262
live-build/auto/build: Exclude all *.efi* files from kernel version
...
detection (i.e. including *.efi.signature), not just *.efi.signed.
12 years ago
Oliver Grawert
459c30a21b
create nexus7 rootfs as .ext4 instead of .img
12 years ago
Oliver Grawert
91577600f4
use own config for nexus7 instead of mangling ac100 bootimg files
12 years ago
Oliver Grawert
7dfc058f6f
fix abootimg call of nexus7 processing harder
12 years ago
Oliver Grawert
c5b22a8b92
move the nexus rootfs tarball around instead of copying it
12 years ago
Oliver Grawert
917b5a8e49
fix quoting of the abootimg call for nexus7, dont fail if the userdata exists
12 years ago
Oliver Grawert
7c3b30f6fc
add nexus7 specific kernel cmdline, move the nexus7 processing up a bit in the code so we can modify the bootimg cmdline before the file gets copied around
12 years ago
Oliver Grawert
669f13896e
add a dependency on android-tools-fsutils for armhf builds, add nexus7 live-build configuration, add nexus7 post processing with make_ext4fs for teh tarball to roll a proper android img file
12 years ago
Colin Watson
c3d9d43abd
Revert binary/$INITFS/kernel-$FLAVOUR to the unsigned kernel, and link
...
signed kernels to binary/$INITFS/kernel-$FLAVOUR.efi.signed instead
(LP: #1067659 ).
12 years ago
Colin Watson
24513ca950
live-build/auto/build: If they exist, link *.efi.signed versions of the
...
kernel to binary/$INITFS/kernel-$FLAVOUR rather than the unsigned
versions.
12 years ago
Stéphane Graber
b2d347a5c0
releasing version 2.84
12 years ago
Colin Watson
c6eda4d9b2
live-build/auto/build: live-build now calls hybrid ISO9660 images
...
binary.hybrid.iso rather than binary-hybrid.iso.
12 years ago
Colin Watson
51ab45ba63
* Adjust for live-build interface changes up to 3.0~a57-1ubuntu1.
...
* Break ubuntu-defaults-builder (<< 0.31) to account for these interface
changes.
13 years ago
Adam Conrad
b0b6e0d9e5
* Add (extra-)override parsing to the preinstalled pool to make sure
...
we get task headers in the local pool for tasksel (LP: #819899 )
* Move temp directories under config so they get cleaned properly
* Invoke apt-get update once with only the sources.list fragment
for the local archive, so our package/task selection more closely
mimics the CD experience (LP: #985258 , #985737 , #985280 , #819900 )
* Write out a standard sources.list entry for preinstalled systems
that's similar to the one generated by installers (LP: #985291 )
13 years ago
Colin Watson
9f1f3716d6
Get live-build to divert update-initramfs while building the chroot.
...
This should cut a few minutes off builds, particularly on slow
architectures.
13 years ago
Colin Watson
6e2338bb4e
Squash errors from 'ls vmlinu?-*'.
13 years ago
Oliver Grawert
ca106b98d8
also store the size of the ac100 tarball in the initrd, since the tarball changes its name several times during build we need a second criteria to not loop over all availiable tarballs with md5sum at install time.
14 years ago
Oliver Grawert
3e29c9be4a
drop FLASH_KERNEL_SKIP from live-build config, add FLASH_KERNEL_SKIP explicitly to the post build ac100 update-initramfs chroot call
14 years ago
Colin Watson
bc091c8edf
Tolerate ubuntu-defaults-image's kernel renaming.
14 years ago
Colin Watson
87d6aa1876
Link binary.iso or binary-hybrid.iso, if found, into the output
...
directory for use by BuildLiveCD.
14 years ago
Oliver Grawert
706313acd5
provide .bootimg as a link to .bootimg-$FLAVOUR similar to the naming scheme we use for initrd and kernel files.
14 years ago
Oliver Grawert
340a68cd06
rename ac100 bootimage to something the build system can parse easier
14 years ago
Oliver Grawert
b6b65b0ff0
fix typo in abootimg call
14 years ago
Oliver Grawert
78a4e17ad8
make sure the md5sum of the rootfs tarball ends up in the initrd for ac100 installs, post process the ac100 kernel and initrd through abootimg to get a proper android bootimage
14 years ago
Adam Conrad
378d7b5e24
Switch a hardcoded "boot" to "$INITFS" in auto/build
14 years ago
Adam Conrad
18b87630d3
Release version 2.19 with preinstalled-package-pools support; see debian/changelog for more info
14 years ago
Adam Conrad
82fe7a1d0e
ubuntu-core, plain FS support, and minor fixes
14 years ago
Colin Watson
ed52d04be5
'--initramfs none' produces *.packages* outputs rather than *.manifest*;
...
handle this.
14 years ago
Colin Watson
e9cd756c36
Anchor regex to avoid misdetecting vmlinux-3.0-0-powerpc64-smp as a
...
powerpc flavour kernel.
14 years ago
Colin Watson
5b53e147aa
Set pipefail (bash-specific) in auto/build so that we fail immediately
...
if the main image build fails.
14 years ago
Colin Watson
b31062605d
build LTSP chroot on edubuntu-dvd/i386
14 years ago
Colin Watson
97f056d3b6
link output files to BuildLiveCD-compatible locations
14 years ago
Colin Watson
d903b8b9af
start live-build configuration
14 years ago