Michael Hudson-Doyle
092b316357
add a comment explaining why /dev cleaning is docker-only
7 years ago
Michael Hudson-Doyle
013dff431e
Remove device nodes from Docker images. (LP: #1645468 )
7 years ago
Phil Roche
b7403fabf1
Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777 )
7 years ago
Colin Watson
1e6563aa79
Merge trunk.
7 years ago
Michael Hudson-Doyle
664ace2f30
man un-diverting man idempotent
7 years ago
Michael Hudson-Doyle
7c7c2c5b30
rm -r the lists
7 years ago
Michael Hudson-Doyle
ccef323973
go back to having docker unminimize not install any extra packages
...
update text of man diversion to mention need to install man-db package
7 years ago
Michael Hudson-Doyle
2fc3993d48
Remove apt lists that are currently removed downstream anyway.
...
(LP: #1699913 )
7 years ago
Michael Hudson-Doyle
fa1bce5389
still install a few packages in docker unminimize
7 years ago
Michael Hudson-Doyle
514faae2db
divert /usr/bin/man in minimized images to a script that mentions the unminimize script
7 years ago
Michael Hudson-Doyle
7e1bd33544
do not install ubuntu-minimal in ubuntu-base's unminimize
7 years ago
Łukasz 'sil2100' Zemczak
7982442e32
Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a dangling symlink.
7 years ago
Colin Watson
07487675b6
Sort buildd tarballs by name and use numeric user and group IDs.
7 years ago
Colin Watson
cb22177287
Add a buildd subproject.
7 years ago
Steve Langasek
e6089e9e32
Remove landscape-common from minimal image, and handle restoring it in
...
unminimize script. LP: #1763182 .
7 years ago
Robert C Jennings
73dba1f31a
snap preseeding: capture Ubuntu snap seeding policy in code
...
When no channel is given for a pre-seeded snap, the channel
should be stable/ubuntu-XX.YY to match Ubuntu policy.
This patch adds the LB_DISTRIBUTION var to config/{binary,chroot}
to have a common way of determining the Ubuntu XX.YY version
number between hooks and auto/build.
7 years ago
Robert C Jennings
57261c3edf
auto/build: Install snaps using common functions
7 years ago
Steve Langasek
4bb0414a5d
Make sure we call the build "minimal" within the cloud build info,
...
when building a minimized image.
7 years ago
Christopher Glass
51c663a892
Fixed whitespace/tabs.
7 years ago
Michael Hudson-Doyle
3cb1f38cf2
Set the default locale to C.UTF-8 in all server and cloud images.
...
(LP: #1751051 , #1759003 )
7 years ago
Christopher Glass
0b2239c069
Parametrize BUILD_NAME in /etc/cloud/build.info to make it "minimal-aware".
7 years ago
Steve Langasek
90ef53cef1
Merge lp:~vorlon/livecd-rootfs/ubuntu-channels-for-snaps
7 years ago
Iain Lane
ba4b16626f
live-build-auto/{build,config}: Support fetching a file from the seed
...
mirror (BASE_SEED.minimal-remove) and putting it into the livefs build as
filesystem.manifest-minimal-remove. It's intended for ubiquity to read
this file as a list of packages to remove when doing a 'minimal' desktop
installation.
7 years ago
Steve Langasek
131f14d33c
Use Ubuntu-specific branches when seeding snaps, as required in
...
<https://wiki.ubuntu.com/UbuntuSeededSnaps >.
7 years ago
Iain Lane
9978fd7b39
Support seeding of snaps, as emitted by germinate >= 2.27.
7 years ago
Steve Langasek
e6a66dd3bf
Add support for passing snap channel to ubuntu-core image builds.
7 years ago
Balint Reczey
df89bff043
Drop Nexus 7 support
7 years ago
Iain Lane
07873ec528
Support seeding of snaps
...
We run germinate during configure, and read from each resulting <seed>.snaps
file (expanded from STRUCTURE) to find out which snaps to seed. This is written
to config/seeded-snaps, which is read during build to download each one.
7 years ago
Dimitri John Ledkov
5f64c373f1
Drop android-tools-fsutils dependency, and instead install it on
...
demand for the nexus7 sub-arch. This target is no longer produced,
thus by doing this android-tools can fall out of main to universe.
7 years ago
Steve Langasek
f384f10867
Merge lp:~vorlon/livecd-rootfs/minimize-round-two
7 years ago
Steve Langasek
ea2840ddfc
fix wrong use of PREFIX literal
7 years ago
Steve Langasek
7c07f8a65b
Change ubuntu-core image builds to use the standard "$PREFIX" naming for
...
artifacts instead of being gratuitously different; requires a matching
change to ubuntu-cdimage.
7 years ago
Steve Langasek
02246dbf84
move configuration bits into live-build/auto/config from live-build/auto/build, per Adam
7 years ago
Steve Langasek
696ae6e1eb
Name the manifest the way ubuntu-cdimage expects it for subarchs
7 years ago
Steve Langasek
e96fa8b878
ubuntu-image now produces a manifest file listing the snap revisions
...
used; publish this so that it's picked up by launchpad-buildd.
7 years ago
Steve Langasek
b3cf7b9013
The target for x86 ubuntu-core images is VMs, so create them with
...
a buffer of free space in order to work if booted in place.
7 years ago
Steve Langasek
083d58397c
Make sure to remove any initramfs that was generated in a minimized
...
image.
7 years ago
Steve Langasek
f91a9f16ee
Also remove old dpkg files from the live images
7 years ago
Steve Langasek
df94729c60
sync with purge-initramfstools branch
7 years ago
Steve Langasek
e99636027f
busybox-initramfs and busybox-static have reverse-recommends, so it's not enough to use apt-mark auto; remove these packages by name.
7 years ago
Steve Langasek
3a092539ca
purging initramfs-tools as a prereq
7 years ago
Steve Langasek
56a85e74c9
Also mark busybox-{initramfs,static} as automatically installed, so they can be removed again
7 years ago
Steve Langasek
08a5fc58ba
Remove apt, debconf cruft files from /var/cache in all our livefses.
7 years ago
Steve Langasek
7798e70d8f
Purge initramfs-tools from minimized images.
7 years ago
Steve Langasek
58be5d5712
Merge lp:~vorlon/livecd-rootfs/snap-in-mate/
7 years ago
Steve Langasek
e509a81f1d
Unminimization information should only go to motd when we are actually
...
minimized.
7 years ago
Steve Langasek
1bcb0009ac
mkdir before use
7 years ago
Steve Langasek
aec4452acf
Fix quoting
7 years ago
Steve Langasek
c61850e168
Use regular chroot, not the Chroot wrapper, so we can actually debug our failing command
7 years ago
Steve Langasek
e59db65edb
Add initial support for preinstallation of snaps in images, and
...
preinstall pulsemixer in the Ubuntu MATE image.
7 years ago
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