Steve Langasek
bacde14e41
Also adjust live-build/ubuntu-server/hooks/032-installer-squashfs.binary
...
to use teardown_mountpoint.
7 years ago
Robert C Jennings
83b4f5338c
live-build/ubuntu-cpc/functions: Add teardown_mountpoint to reverse setup_mountpoint
...
* live-build/ubuntu-cpc/functions: Add a function, teardown_mountpoint,
to reverse the work done in setup_mountpoint. Lack of this function
has forced users of setup_mountpoint to implement this separately
and the implementations have diverged. (LP: #1716992 )
* live-build/ubuntu-cpc/functions: Remove umount_settle function.
The was only used where teardown_mountpoint was lacking.
7 years ago
Steve Langasek
8589d3548f
live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get
...
update *before* installing packages, not after.
7 years ago
Steve Langasek
a246300940
* live-build/functions: mount tmpfs on /var/cache/apt and var/lib/apt, so
...
we don't have to leave empty space in our derivative images for packages
that have been downloaded/installed/removed. This normally isn't
relevant for the installed system, since the root filesystem will
auto-expand in place on the target disk, but lets us ship smaller
images.
* live-build/functions: also call 'apt-get update' after mounting the
blank /var/lib/apt.
7 years ago
Michael Hudson-Doyle
1676147a84
add some dhcp-on-wired-looking-things default netplan for the server live image
7 years ago
Colin Watson
6a42148b22
Mount and unmount /dev recursively, to cope with setups where there are
...
interesting bind-mounts under /dev (e.g. loop devices bind-mounted by
LXD).
7 years ago
Adam Conrad
fc48e02c37
[tribaal, r=adconrad] Create vagrant user per upstream requirements
...
This branch changes the behavior for default users on the vagrant image,
according to much of https://www.vagrantup.com/docs/boxes/base.html
Specifically, this adds a new "vagrant" user with a know password on top
of the already existing ubuntu user.
This conforms to the expectations of the Vagrant community, despite some
security concerns. Vagrant images are not used for production systems but
for development environments, and the absence of the "standard" vagrant user
has been hurting ubuntu adoption on that platform.
7 years ago
Christopher Glass
f10cd80ebb
Make sure the .ssh directory has the right permissions.
7 years ago
Christopher Glass
e798276910
Fixed review comments by Adam.
...
- use adduser instead of useradd.
7 years ago
Balint Reczey
4d72521491
Fix suppressing kpartx error
7 years ago
Christopher Glass
3d901daef4
Fix file permission problem - the authorized_keys file was still owned by root since the chown call came before its creation.
7 years ago
Christopher Glass
e6fd2b657e
Remove ubuntu user customisations.
...
Let's just do the absolute minimum here, the default is what people expect.
7 years ago
Gary.Wzl
eb76178ab5
Support to only generate rootfs via variable (GENERATE_ROOTFS_ONLY).
7 years ago
Gary.Wzl
84da578380
Add IMAGETYPE to support classic image creation by ubuntu-image.
7 years ago
Steve Langasek
b1432b36be
Don't reference dropped grub_modules variable in grub-install command
7 years ago
Christopher Glass
87f34122fb
Remove useless diff.
7 years ago
Christopher Glass
97c8996c29
Remove the useless user and password from default config.
7 years ago
Christopher Glass
72dbb4c75d
Added comments.
7 years ago
Christopher Glass
467b8c9c06
Reset the default SSH user to being vagrant.
...
Using "vagrant ssh" is confusing otherwise.
7 years ago
Christopher Glass
1cc6041cd6
Remove root login. Ubuntu user keeps generated password.
7 years ago
Christopher Glass
b9363e97fb
Explicitely permit passworded root login over SSH.
7 years ago
Christopher Glass
c0730ef6f6
Fix typo in variable name.
7 years ago
Christopher Glass
cc8a6e2709
Turns out the user adding should be done when the chroot is available...
7 years ago
Mathieu Trudel-Lapierre
563abee702
Drop special handling of grub modules, adding a note. Modules should be included in the signed grub binaries when necessary.
7 years ago
Mathieu Trudel-Lapierre
869bb9808a
Clean up GRUB_MODULES_PRELOAD / grub_modules. Remove the modules already loaded in stock signed grub EFI binaries.
7 years ago
Christopher Glass
5442860c14
Added a "vagrant" user to the vagrant image build, as per the vagrant community's
...
expectations.
7 years ago
Dimitri John Ledkov
bec201601d
Set a default locale of C.UTF-8 in the cloud images.
7 years ago
Steve Langasek
8aadf2c73d
Set a default locale of C.UTF-8 in the cloud images.
7 years ago
Dimitri John Ledkov
4f0e9c286c
Drop add_serial_console for upstart.
7 years ago
Balint Reczey
3b37842219
Use VMDKstream in a more future-proof way
8 years ago
Robert C Jennings
f05a8a238f
live-build/functions: Update path for VMDKstream.py
...
LP: #1706116
8 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
Mathieu Trudel-Lapierre
726e6192e0
auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
...
dependency bugs in the livefs is a little clearer.
8 years ago
Steve Langasek
926b22a834
Merge lp:~rbalint/livecd-rootfs/deps
8 years ago
Steve Langasek
23d9db863e
Add cm3 as a known ubuntu-core image type. LP: #1698223 .
8 years ago
Balint Reczey
6c9cf10d72
Depend on pxz and vmdk-stream-converter instead of installing them at runtime
8 years ago
Balint Reczey
aa54a130c3
Depend on packages in main instead of installing them at runtime
8 years ago
Didier Roche
1260f67b8a
Build ubuntu back with tasks. The metapackage switch was due to g++ transition
...
and needed some additional hint. This is adding maintenance and as mentioned
in 2.335, we can revert this.
8 years ago
Simon Quigley
0d82c84cdf
Update the file based on gilir's feedback
8 years ago
Simon Quigley
538c89f984
Set correct tasks for Lubuntu
8 years ago
Mathieu Trudel-Lapierre
8de300621f
For ubuntu-server images, the live user created by user-setup is 'ubuntu-server', not 'ubuntu'. Fix this so that gettys will start on VTs.
8 years ago
Steve Langasek
f75be1c606
Resurrect Balint's fix from
...
lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix to wrap kpartx
and trap spurious errors, since the problem is still being seen
intermittently on i386 despite us calling sync before kpartx.
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
Mathieu Trudel-Lapierre
d463581569
Merge in lp:~ubuntu-core-dev/livecd-rootfs/zesty-proposed for the changes that landed in zesty but previously missing in livecd-rootfs trunk.
8 years ago
Mathieu Trudel-Lapierre
2e21d6d6b1
The ubuntu-server:live should use a casper-based initramfs to work
...
correctly. (LP: #1682460 )
8 years ago
Mathieu Trudel-Lapierre
03c991faef
Setup kernel properly for ubuntu-server:live; we *do* want to build
...
kernel-generic and initrd-generic for this image. (LP: #1682460 )
8 years ago
Balint Reczey
0109d5304e
Optionally use ubuntu-image for building snap based images
8 years ago
Balint Reczey
f807c3703a
Allow overriding IMAGEFORMAT even for ubuntu-cpc and ubuntu-server
8 years ago
Balint Reczey
44f9dceeb4
Require PROJECT environment to be set for lb build
8 years ago
Steve Langasek
ca79c05a23
Merge lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix, w/ modifications
...
Only call sync, don't wrap kpartx and parse its output (doesn't appear to be
needed)
8 years ago
Balint Reczey
21efeb6795
Work around kpartx's nonzero exit due to "Device or resource busy" errors
...
which still permit kpartx to finally remove loop device (LP: #1684090 ).
Also sync before calling kpartx to let writing to loop devices finish.
8 years ago
Steve Langasek
e89c54b271
Merge lp:~rcj/livecd-rootfs/trunk/
8 years ago
Robert C Jennings
01b476c0eb
live-build/ubuntu-cpc/hooks/999-extras.binary: Exit on first failure
...
Failure should be quick to eliminate excessive buildd time and make
identification of failure easier (no more buried errors).
8 years ago
Robert C Jennings
166b5eb4b3
ubuntu-cpc/060-ipv6.chroot: remove release comparison (LP: #1681548 )
8 years ago
Mathieu Trudel-Lapierre
22ec1d6f6f
Sanitize comments.
8 years ago
Mathieu Trudel-Lapierre
94275558de
Make sure variables are exported for run-parts in 999-extras.binary; and drop the unnecessary sourcing of functions.
8 years ago
Mathieu Trudel-Lapierre
6272f60665
Merge fixes from rcj.
8 years ago
Robert C Jennings
f8264a59c6
Change remaining CLOUD_IMG_STR references to IMAGE_STR
8 years ago
Mathieu Trudel-Lapierre
4e01beda8c
Set IMAGE_STR and FS_LABEL for ubuntu-cpc 999-extras.binary hook too; but also export CLOUD_IMG_STR.
8 years ago
Mathieu Trudel-Lapierre
4613a2c82e
Don't outright remove fstab for ubuntu-server:live, that breaks grub-legacy-ec2.
8 years ago
Mathieu Trudel-Lapierre
9ed476572f
Resynchronize with parent branch.
8 years ago
Mathieu Trudel-Lapierre
46bae4cebf
Fix up functions refactoring tfor a proper path to the file.
8 years ago
Mathieu Trudel-Lapierre
ab949fac18
Rename ubuntu-server-live -> ubuntu-server
8 years ago
Mathieu Trudel-Lapierre
46fd6c58f5
Refactor functions out of ubuntu-cpc and ubuntu-server hooks.
8 years ago
Mathieu Trudel-Lapierre
292c5f300c
De-duplicate functions in ubuntu-server-live; use the file from ubuntu-cpc.
8 years ago
Mathieu Trudel-Lapierre
715f13b887
Don't spam with unnecessary login messages; skip login altogether.
8 years ago
Mathieu Trudel-Lapierre
2cfa4a9088
Override gettys to wait for the user the press enter, and autologin to the ubuntu user.
8 years ago
Mathieu Trudel-Lapierre
e577ed7672
Rename to ubuntu-server-live; some build process fixes.
8 years ago
Mathieu Trudel-Lapierre
bf958b1472
Disable cloud-init for the live-session. user-setup will create our ubuntu user via casper.
8 years ago
Balint Reczey
16eee8d7eb
Use all config hooks from the proper place, not from /build/
8 years ago
Balint Reczey
7cae48fd12
Source ubuntu-cpc functions from the right place
8 years ago
Mathieu Trudel-Lapierre
29f5dc57fd
mkdir must not fail.
8 years ago
Mathieu Trudel-Lapierre
6978674cfe
Add cloud-init for subiquity image.
8 years ago
Mathieu Trudel-Lapierre
303c7a29ec
Move subiquity systemd service to includes.binary; so that it's copied only on the installer overlay.
8 years ago
Mathieu Trudel-Lapierre
86b64ef78e
Move curtin to installer squash.
8 years ago
Mathieu Trudel-Lapierre
d5a6f5cbe3
Add 'ubuntu-server-next' subiquity image.
8 years ago
Steve Langasek
738ff116a5
Merge lp:~vorlon/livecd-rootfs/image-flavors/
8 years ago
Brian Murray
f79fc7973c
Add replace_grub_root_with_label function thereby consolidating multiple
...
uses of the same calls to sed. Thanks to Dan Watkins.
8 years ago
Adam Conrad
7b576e4c4d
Set device_tree_address for the new kernel in the RPi bootloader config.txt
8 years ago
Brian Murray
a5cc2033a0
Fix the OVF's metadata to include Ubuntu specific identifiers and
...
descriptions instead of the generic Linux ones. Thanks to Chris Glass.
(LP: #1656293 )
8 years ago
Christopher Glass
5da94c05e5
Fixed template omission (found wile running a build withthis branch).
8 years ago
Christopher Glass
b6e7b22680
Rool both switches into one for all affected files (the vagrant file was still
...
doing two switches on $ARCH).
8 years ago
Nish Aravamudan
404e524013
live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot: generate iSCSI
...
Initiator Name at first iscsid run for cloud images to ensure it is
unique (LP: #1444992 ).
8 years ago
Steve Langasek
dc38efa4bd
merge from trunk
8 years ago
Steve Langasek
60da7e7c43
Also make squashfs skippable with $IMAGE_TARGETS
8 years ago
Steve Langasek
7fc1da1513
* live-build/ubuntu-cpc/functions: don't call sleep as part of
...
umount_settle; udevadm settle is synchronous and there's no reason to
sleep after it.
* live-build/ubuntu-cpc/functions: umount_partition: don't call
umount_settle for each submount; just unmount them one by one and
settle at the end.
8 years ago
Steve Langasek
97bc634bd9
vmdk-ova has to key on the vmdk image build
8 years ago
Steve Langasek
53e1feefdb
Per discussion with Adam, don't make this an LB_ variable since it's not actually part of live-build; instead we will look to pass it into the environment through launchpad-buildd
8 years ago
Steve Langasek
f04a535b0c
Always export LB_IMAGE_FLAVORS, so that hooks don't complain about unbound variables
8 years ago
Steve Langasek
6ae9c55227
Fix gratuitous quoting bug
8 years ago
Steve Langasek
8ba3a00622
Support passing IMAGE_FLAVORS in the environment, to limit which images
...
are output as part of a build; particularly useful for ubuntu-cpc builds
which output multiple image types.
8 years ago
Christopher Glass
5a07ff4602
Roll both switches on $ARCH into one, as suggested at review.
8 years ago
Christopher Glass
f1a8538c8e
This branch fixes the OVF's metadata to include Ubuntu-specific identifiers and
...
descriptions instead of the generic linux ones (lp:1656293).
This applies to both the general image and the vagrant-specific one.
8 years ago
Christopher Glass
f282859477
This branch fixes the manifest generation in OVA files (LP:1627931)
...
The .ova file extension was passed twice, resulting in file not found errors in
both the general case and the vagrant-specific file creation.
8 years ago
David Mohammed
1af12f76b7
correct indentation - should be tab not spaces
8 years ago
David Mohammed
c85df9e50f
add changes for Ubuntu Budgie build config
8 years ago
Iain Lane
4a2d7ecf31
Merge lp:~laney/livecd-rootfs/lp1627190 - don't purge .pyc files any more
8 years ago
Robert C Jennings
67dfdf94a7
ubuntu-cpc: Remove redundant copy of grub files
...
This redundant and file names recently changed. These files will be
put in place by grub-install a few lines below these.
8 years ago
Łukasz 'sil2100' Zemczak
d43c01c60b
Update the ubuntu-touch hints to try installing ubuntu-system-settings instead of ubuntu-system-settings-online-accounts.
8 years ago
Iain Lane
d7eecc3805
live-build/auto/config: Don't remove .pyc files any more - we don't care
...
*that* much about the small space gain these days, and would prefer the
speed win. (LP: #1627190 )
8 years ago
Łukasz 'sil2100' Zemczak
bbc880716d
Update the 00-uid-gid-fix.chroot_early hook for touch to include the new known good bootstrap hash values.
8 years ago
Adam Conrad
1d71b6d5ab
Use the virtual kernel for the arm64 cpc images instead of generic.
8 years ago
Adam Conrad
95d4c0b767
Use the virtual kernel for the powerpc64 cpc images (LP: #1625368 )
8 years ago
Steve Langasek
d747399c64
Temporarily change the 60-install-click.chroot script to pull in clicks for
...
arm64 builds from a different location for ubuntu-touch.
8 years ago
Steve Langasek
8855f05191
live-build/ubuntu-cpc/hooks/042-vagrant.binary: fix unmount handling
...
so that the teardown is done properly /before/ we try to make an
image from our filesystem, since otherwise /etc/resolv.conf is broken.
LP: #1621393 .
8 years ago
Michael Vogt
d4dd5b3a8a
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
...
- do not create "ubuntu" user for ubuntu-core anymore, the
* live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot
- dropped
8 years ago
Michael Vogt
5f9521d65f
do not create "ubuntu" user for ubuntu-core anymore, the
...
console-conf package will create this user now
8 years ago
Daniel Watkins
15d147bcdb
Add replace_grub_root_with_label function
...
When update-grub is run, it will detect the disks in the build system.
Currently, we sed the grub configuration in places where this happens;
replace_grub_root_with_label moves that seddery in to a single callable
location to avoid ending up with multiple versions of it.
(It's worth noting that we also do this in 999-cpc-fixes.chroot, but as our
functions file isn't available within the chroot we don't use it there.)
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
Sebastien Bacher
1060aac86d
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary
...
- use echo to display the error, thanks ogra for pointing that out,
update the string also to use the new snappy command naming
8 years ago
Sebastien Bacher
8ec2912420
Create a desktop entry and some mimetype associations for xdg-open in
...
ubuntu-core. That way interacting with web, email and documentations
urls in a snap should do the right thing.
8 years ago
Sebastien Bacher
f78de9a3c7
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary,
...
500-create-xdg-wrapper.binary, 700-classic-dir.binary:
- Correct some syntax errors in the ubuntu-core snap hooks.
8 years ago
Michael Hudson-Doyle
15b69c4ddf
Install nplan in the ubuntu-core image.
8 years ago
Steve Langasek
b268d90538
Merge lp:~tsimonq2/livecd-rootfs/lubuntu-next-image
9 years ago
Michael Terry
0a141763ce
* live-build/ubuntu-touch/includes.chroot/etc/lightdm/
...
lightdm.conf.d/90-phablet.conf:
- Don't have Touch greeters show a guest session. Touch isn't ready
for non-phablet users yet nor a multi-user greeter.
9 years ago
Sebastien Bacher
5c11231392
Create a desktop entry and some mimetype associations for xdg-open in
...
ubuntu-core. That way interacting with web, email and documentations urls
in a snap should do the right thing.
9 years ago
Sebastien Bacher
da28a130be
update hook comment to match the content
9 years ago
Sebastien Bacher
377b075dcc
escape $1 variable in the xdg script where needed
9 years ago
Sebastien Bacher
2dd9d8a055
Correct some syntax errors in the ubuntu-core snap hooks
9 years ago
Simon Quigley
4040816ca7
Add Lubuntu Next image
9 years ago
Steve Langasek
9efc4f0f70
Merge lp:~semiosis/livecd-rootfs/fix-for-1565985
9 years ago
Louis Zuckerman
802e65f885
remove unnecessary virtualbox-guest-dkms package from vagrant image builder
9 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
Louis Zuckerman
213c3b317c
updated per Steve Langasek's feedback:
...
- put umount in trap
- wrap comment lines at 78 chars
- remove unnecessary DEBIAN_FRONTENT env var from apt-get lines
9 years ago
Louis Zuckerman
85d3b5fdaf
remove comment from vagrant script
9 years ago
Louis Zuckerman
0eac70b33e
[ Louis Zuckerman ]
...
* Fixes for vagrant box builder in ubuntu-cpc LP: #1565985
* Remove extra packages added on 24 Jun 2016 except virtualbox-guest stuff
* Add cloud-init config to manage /etc/hosts for localhost
9 years ago
Louis Zuckerman
2616af2baf
[ Louis Zuckerman ]
...
* Merged the following changes from upstream
[ Łukasz 'sil2100' Zemczak ]
* Remove the ubuntu-pd project from the scripts
* Add instead an ubuntu-touch-custom project for custom re-builds of
ubuntu-touch
[ Daniel Watkins ]
* Consolidate cloud images
- Remove .tar.gz and .tar.xz (removed in favour of the squashfs).
- Remove the MBR-only disk image in favour of the shared GPT/MBR UEFI
image.
- Remove '-disk1' from bootable image names.
[ Phil Roche ]
* Removed HWCLOCKACCESS=no from /etc/default/rcS (LP: #1581044 )
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
Steve Langasek
40fd3c6534
Merge lp:~cloudware/livecd-rootfs/image-consolidation
9 years ago
Louis Zuckerman
cad69acf05
fixes for vagrant box builder in ubuntu-cpc
9 years ago
Martin Wimpress
cbbcb721a4
Ubuntu MATE seeds now follow Recommends:
9 years ago
Adam Conrad
b3cc872df5
Swap order of security and updates in dvd sources.list.
9 years ago
Adam Conrad
da54fe4c3e
Fix security mirror sources.list entries for non-x86 architectures.
9 years ago
Michael Vogt
50f5c6cd18
fix 500-create-xdg-wrapper.binary and 700-classic-dir.binary extensions
9 years ago
Daniel Watkins
319e3668b9
[cpc][ppc64el] apt-get update before installing grub2
9 years ago
Phil Roche
d97134679d
Removed HWCLOCKACCESS=no from /etc/default/rcS
...
HWCLOCKACCESS=no in /etc/default/rcS is no longer required and prompts a confirmation
dialog on upgrade. (bug 1581044)
9 years ago
Daniel Watkins
c1a36eb3cd
Don't ignore failures to find a base VMDK for OVAs
...
We should always build them, and treat them not existing as a failure.
9 years ago
Daniel Watkins
dd9cf219c7
Create a VMDK image on i386
9 years ago
Daniel Watkins
fe81277a0f
Continue producing non-UEFI images on non-UEFI arches
9 years ago
Daniel Watkins
0a8a704b0b
Remove '-disk1' from bootable image names.
9 years ago
Daniel Watkins
1fd54c49ee
* Consolidate cloud images
...
- Remove .tar.gz and .tar.xz (removed in favour of the squashfs).
- Remove the MBR-only disk image in favour of the shared GPT/MBR UEFI
image.
9 years ago
Michael Vogt
698283d1c4
rename var/lib/snapd/classic->var/lib/snapd/hostfs
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
Michael Vogt
45dd439f68
add var/lib/snapd/classic in ubuntu-core
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
Łukasz 'sil2100' Zemczak
f83f033060
Update post-debootstrap hashes for ubuntu-touch.
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
Adam Conrad
8cd6c20291
Move touch resolution hints to a HINTS variable, and adjust for use
...
on dual-stack gl/gles arches where things don't quite work right.
9 years ago
Adam Conrad
1463239cb2
Stop explicitly removing systemd-sysv for touch.
9 years ago
Oliver Grawert
b38412b4ed
adjust motd message on snappy
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
863c46941a
rename com.canonical.UrlLauncher -> com.canonical.SafeLauncher
9 years ago
Michael Vogt
8a5032e26e
live-build/ubuntu-core/hooks/500-create-xdg-wrapper: rename to com.canonical.UrlLauncher
9 years ago
Oliver Grawert
56e798bcbd
add u-boot-tools to all snappy arches, drop flash-kernel from snappy, create /boot/uboot dir on all snappy arches and configure /etc/fw_env.config
9 years ago
Michael Vogt
d436f951c3
system-image: add /usr/local/bin/xdg-open dbus helper
9 years ago
Michael Vogt
d617d8f840
update kernel snap building to match the new kernel policy
9 years ago
Steve Langasek
baf4f47379
Drop special-casing of ubuntu-core:system-image in places, now that
...
ubuntu-core unambiguously refers to the snappy Ubuntu Core image.
9 years ago
Steve Langasek
8b79962b99
Rename old ubuntu-core tarballs to ubuntu-base to avoid confusion.
9 years ago
Łukasz 'sil2100' Zemczak
1a5f9bc338
Add the new dhcpd user introduced by latest archive changes.
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
Oliver Grawert
0b1c0642f7
add multiverse to sources.list for snappy kernel builds
9 years ago
Oliver Grawert
03f89315cc
add multiverse to sources.list for snappy kernel builds
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
Adam Conrad
4eae5fbf1d
Follow linux-firmware-raspi2 renaming in the archive for raspi2 images.
9 years ago
Łukasz 'sil2100' Zemczak
d136431dd5
Follow up on recent changes from the new network-manager packages and add the nm-openvpn user to touch. This should essentially fix the image build failures.
9 years ago
Łukasz 'sil2100' Zemczak
8fa28215c8
Update the passwd, shadow, group and gshadow bootstrap hashes for touch.
9 years ago
Daniel Watkins
2c27aab38c
Re-enable systemd predictable interface naming in cloud images
9 years ago
Daniel Watkins
6340e292d6
Don't configure the eth0 interface by default
...
In xenial, eth0 won't exist (as we've moved to systemd's predictable interface
naming), and even were it to exist, cloud-init would handle configuring it on
boot.
9 years ago
Adam Conrad
57c110d861
Transition from ubuntu-snappy to ubuntu-core-snapd-units and snapd.
9 years ago
Adam Conrad
dbcbcfaf7c
live-build/ubuntu-cpc/hooks/032-disk-image.binary: Install s390-tools
...
and sysconfig-hardware before we attempt to configure zipl.
9 years ago
Oliver Grawert
814311e826
snappy: make ppc64el and s390x os tarball builds work
9 years ago
Oliver Grawert
62b25a47f2
kill the snappy os build if the initramfs-tools-ubuntu-core package is not found
9 years ago
Oliver Grawert
e7723219a3
switch snappy package builds from "snappy build" to "snapcraft snap" (LP: #1557515 )
9 years ago
Oliver Grawert
4d25373897
live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot create a generic initrd inside the snappy os-snap
9 years ago
Adam Conrad
ec84072284
Merge powerpc fixes from Daniel Watkins
9 years ago
Daniel Watkins
2909aba4b5
Enable building of powerpc cloud images.
9 years ago
Adam Conrad
5ac47abce7
Remove obsolete pvr-omap4 special-casing to simplify configs.
9 years ago
Oliver Grawert
24d78ecf5f
fix cloud-init breaking snappy networking on boot (LP: #1563296 )
9 years ago
Xavi Garcia Mena
0fbe88364f
Changing upower configuration to use percentages and poweroff the device when the critical battery level has been reached
9 years ago
Oliver Grawert
16f26af920
make the /etc/mtab link relative in snappy (LP: #1547033 )
9 years ago
Oliver Grawert
66c472388c
move mtab link to point to /proc/self/mounts instead of /proc/mounts in snappy images
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
Colin Watson
af517f422a
Follow rename of ubuntustudio-font-meta to ubuntustudio-fonts.
9 years ago
Oliver Grawert
753bd8acd0
remove grub-efi-arm64 to the arm64 OS snap as it breaks uboot
9 years ago
Oliver Grawert
eba875e96c
add support for dragonboard kernel snap
9 years ago
Łukasz 'sil2100' Zemczak
b6eae423cd
Move the new touch click apps (unav, dekko, calendar) to the custom tarball.
9 years ago
Adam Conrad
d77a731d63
Build raspi2 images with multiverse for firmware.
9 years ago
Michael Vogt
f94b5db6e3
add grub-efi-arm64 to the arm64 OS 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
Łukasz 'sil2100' Zemczak
f7c5d2ac50
Update the debootstrap group and gshadow hashes for ubuntu-touch.
9 years ago
Ben Howard
f3d90d962f
live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for
...
Virtualbox only.
9 years ago
Dimitri John Ledkov
d570ecdcb8
Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which
...
is used outside of the livecd-rootfs build process (specifically for EC2
publication).
9 years ago
Ben Howard
eff40b8e5d
live-build/ubuntu-cpc/hooks/042-vagrant.binary: add serial device for
...
Vagrant images (LP: #1546108 ).
9 years ago
Daniel Watkins
6f6fb2834b
Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which
...
is used outside of the livecd-rootfs build process (specifically for EC2
publication).
9 years ago
Oliver Grawert
4bf82391aa
add /var/lib/systemd/rfkill to pre-created snappy dirs
9 years ago
Adam Conrad
cbbb38a364
Add net.ifnames=0 to the raspi2 cmdline injected into raspi2 builds.
9 years ago
Adam Conrad
8b77178bc5
live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot: Add fake_cloud_init
...
function to create a nocloud data source for cloud images that aren't
meant to be used on real clouds and use it by default on armhf+raspi2
9 years ago
Steve Langasek
1d428db1ab
Switch to passing the raspi2 boot options entirely via cmdline.txt to match the latest flash-kernel change
9 years ago
Steve Langasek
a545002b7c
Mark boot partitions as type vfat
9 years ago
Steve Langasek
b1099d2a64
Import live-build/ubuntu-cpc/hooks/raspi2/mkknlimg from
...
https://github.com/raspberrypi/linux/blob/rpi-4.1.y/scripts/mkknlimg
and use it to install a bootable uboot.bin.
9 years ago
Steve Langasek
65f74a021d
Drop gratuitous call to dpkg
9 years ago
Steve Langasek
a92bf11406
Initial support for raspi2 subarch.
9 years ago
Steve Langasek
246d45c839
And one more
9 years ago
Steve Langasek
c62743e5f4
...but if we're going to avoid using umount_partition, we need to actually unmount all the mountpoints mounted by setup_mountpoint
9 years ago
Steve Langasek
93314b5882
and the parent directory isn't a mountpoint, so roll back a change that also causes the script to fail. This still warrants refactoring, but let's refactor it in a way that actually works.
9 years ago
Steve Langasek
c53b727a79
But don't try to use the function without declaring the function...
9 years ago
Steve Langasek
7339cb09b3
Remove some code duplication
9 years ago
Steve Langasek
0b279f731b
Refactor ubuntu-cpc hooks to always produce a 'plain' rootfs via
...
live-build and reuse this for the tarball, instead of lb_binary_rootfs
creating some artifact that we ignore / throw away.
9 years ago
Dimitri John Ledkov
375554f157
* Chroot to execute zipl, because it's nice.
...
* Use the right loop device to install zipl onto.
9 years ago
Dimitri John Ledkov
8f825a91c9
* Correct initrd.img symlink, kernel/hooks should actually produce the
...
right thing here, but meh.
* Chroot to execute zipl, fails to boot otherwise.
9 years ago
Steve Langasek
6bd644f252
Revert change that adds a *sixth* argument to create_empty_partition; this can't possibly be the cause of whatever problem was being seen
9 years ago
Ben Howard
28c10e02db
ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix
...
(LP: 1543204).
9 years ago
Dimitri John Ledkov
21b502d78c
Do not remove linux-base, when purging all the linux-*, in the tarball
...
build. Otherwise ubuntu-minimal is removed, and things get crazy.
9 years ago
Ben Howard
ba1b657624
ubuntu-cpc: fix hooks/032-disk-image.binary call to
...
create_empty_partition, which requires five args due to "-u"
9 years ago
Steve Langasek
90fc765551
set -u damage
9 years ago
Steve Langasek
e51a8f8aef
Make sure we still mount the kernel filesystems in the disk setup
...
We skip the previous unmount/remount behavior because that makes things
unwieldly when there are multiple partitions; but we still have setup to do,
so that /dev is available for grub, etc.
9 years ago
Steve Langasek
eb9b43defe
Don't forget to mark our root partition bootable
9 years ago
Steve Langasek
e9d31ea96a
Fix some thinkos in the loop device name handling
9 years ago
Steve Langasek
4594c28c1f
More set -u damage
9 years ago
Steve Langasek
83d2176957
chroot hooks are special, they don't get the environment because it gets scrubbed by rootcmd; so we have to call dpkg --print-architecture after all
9 years ago
Steve Langasek
b9f96f5682
set -u is a hateful thing
9 years ago
Steve Langasek
0be484d35e
Add support for actually mounting the boot partition and copying contents to it
9 years ago
Steve Langasek
24b9feb58a
further refactoring of partition handling
9 years ago
Steve Langasek
6fce3b879d
-> in a few overlooked places
9 years ago
Steve Langasek
99cdaafd61
Refactor ubuntu-cpc hooks to allow us to handle images where the root
...
partition should not be partition 1.
9 years ago
Steve Langasek
7ec8dd87ac
Fix architecture handling in hooks. We know we're always being invoked
...
from a launchpad-buildd-like setup, which passes ARCH and SUBARCH in the
environment, because auto/config and auto/build both rely on this. So
don't scatter dpkg --print-architecture calls throughout, especially
when many of these are not cross-build-aware.
9 years ago
Steve Langasek
cb58e88614
If a subarch is specified for a cloud image build, don't build rootfs
...
artifacts; these should come from the 'generic' build.
9 years ago
Steve Langasek
691a0ca08f
Add hooks to ubuntu-cpc to divert /bin/sync in the chroot and undivert it
...
at the end. This is a general-purpose change that should be applied to
all flavors and archs, but at the moment it's only needed on armhf+raspi2
to work around the raspberrypi2-firmware postinst calling sync, which is
actually warranted in the normal case.
9 years ago
Łukasz 'sil2100' Zemczak
487a0a403c
Change real name for phablet user to 'Ubuntu'
9 years ago
Ben Howard
a5ee888d1b
ubuntu-cpc: add missing net.ifnames=0 for ppc64el disk images.
9 years ago
Steve Langasek
8e20e4b169
Refactor some non-idiomatic architecture handling in
...
live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot
9 years ago
Ben Howard
ca800e778b
* ubuntu-cpc:
...
- fixed loop setup due to change of kpartx output
- only use grub-install logic for Intel architectures
9 years ago
Steve Langasek
4f55631a9f
Refactor/reorder ubuntu-cpc support for consistency with other flavors,
...
so that subarch overrides can be applied correctly.
9 years ago
Dimitri John Ledkov
9e06b90ead
* ubuntu-cpc:
...
- exclude s390x from should_install_grub
9 years ago
Michael Terry
538192d3f4
Make a variable because Saviq likes variables
9 years ago
Michael Terry
39eb02ea86
Use Ubuntu as phablet user's real name
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
Daniel Watkins
414cbec4dc
Specify a regex to run-parts so that cloud image extra scripts are found
...
and executed.
9 years ago
Daniel Watkins
e3d6d5dc9f
Set timeout options so ppc64el cloud images don't display a grub boot
...
menu (matching the behaviour of other cloud images).
9 years ago
Daniel Watkins
ece1f6ccab
Install grub in ppc64el cloud images so they are bootable (LP: #1538610 )
9 years ago
Ben Howard
8ff658da8d
Remove unneeded packages from the root.tar.{gz,xz} cloud image targets
...
(LP: #1534764 ).
9 years ago
Ben Howard
fdd9a3e716
Remove unneeded packages from the root.tar.{gz,xz} cloud image targets
...
(LP: #1534765 ).
9 years ago
Daniel Watkins
cf2e1f3cdc
Produce OVA files for i386 cloud builds
9 years ago
Daniel Watkins
c6440fdfe5
Enable building of s390x cloud images.
9 years ago
Michael Vogt
9a3b3d6280
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
...
- remove libicu52 hook
9 years ago
Łukasz 'sil2100' Zemczak
0011e92391
Fix the invalid path for the error message in 00-uid-gid-fix.chroot_early for ubuntu-touch.
9 years ago
Łukasz 'sil2100' Zemczak
05f661be29
Fix earlier mistake of changing the wrong hashes.
9 years ago
Łukasz 'sil2100' Zemczak
bcfda67527
Update the passwd/shadow db hashes on ubuntu-touch builds
9 years ago
Oliver Grawert
1124ea4776
also add the new apt user to /etc/passwd in snappy
9 years ago
Oliver Grawert
499779097f
update /etc/shadow on snappy for new apt user
9 years ago
Ben Howard
5a84144a9b
* ubunut-cpc:
...
- extendend hooks/functions to support creation of derivative images
including mounting images.
- added the ability to create qcow2 images in hooks/functions
- simplified loop clean-up in hooks/functions
- removed assumption that disk1.img would be built
- switched qcow2 generation to use hooks/functions function
9 years ago
Oliver Grawert
ef219ff9ee
configure /etc/fw_env.config for all arm arches on snappy
9 years ago
Oliver Grawert
74633563d8
make sure u-boot-tools is installed on snappy arm64
9 years ago
Oliver Grawert
93f112e8e8
make sure the default group is still created when adding the default user to adm and sudo groups
9 years ago
Ben Howard
421269a732
ubuntu-cpc: clean up qcow2 image builds
...
- use convert_to_qcow2 to create the qcow2
- remove assumption of disk1.img existing
9 years ago
Ben Howard
c6077abaab
ubuntu-cpc: create VMDK's for disk images if they exist. Remove
...
assumption that disk1.img will exist.
9 years ago
Ben Howard
5b08080057
ubuntu-cpc: only execute first level executables in the extra hooks
...
directory
9 years ago
Ben Howard
7853f8b318
ubuntu-cpc:
...
- added ability to create derivative images
- added function to convert images to qcow2
- cleaned up the loop clean up logic
- added function to umount and settle devices
9 years ago
Michael Vogt
c97c00d749
manually merge upload of 2.359
9 years ago
Michael Vogt
fb84e38cf2
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
...
- add default ubuntu user to "adm" and "sudo" groups
9 years ago
Łukasz 'sil2100' Zemczak
3b7c4b69f4
Fix the previous apt list removal hook. This hook needs to be .binary as otherwise we're still left with apt lists when the image is published.
9 years ago
Ben Howard
2f1831ed07
Fix typo in ubuntu-cpc preventing non-intel builds.
9 years ago
Oliver Grawert
6a39712da0
merge lp:~utlemming/livecd-rootfs/additional-cloud-targets to add Vagrant, OVA, VMDK and squashfs cloud image generation to livecd-rootfs
9 years ago
Łukasz 'sil2100' Zemczak
2a0b654138
Upgrade passwd, group and gshadow hashes for latest builds.
9 years ago
Ben Howard
dd371c4a69
* added additional CPC build targets:
...
- added manifest generation for squashfs and root.tar.gz
- added VMDK generation
- added OVA generation from VMDK's
- added generic Vagrant image generation
9 years ago
Ben Howard
1855130ecc
Pre-merge commit
9 years ago
Oliver Grawert
7ccc9cb706
fix input group on snappy
9 years ago
Oliver Grawert
dd4f845255
do not ship assets/dtbs/overlays in raspi2 tarball, it breaks ubuntu-device-flash
9 years ago
Ben Howard
48a08042ed
Fix
9 years ago
Ben Howard
2b818e8475
Restrict Vagrant size
9 years ago
Ben Howard
4a752e14c0
Use standard tools for resize
9 years ago
Ben Howard
9a87b066cf
Comment fixup
9 years ago
Ben Howard
e931fbeaa5
ubuntu-cpc: move vmdk creation code into common funtion to support Vagrant Box builds
9 years ago
Ben Howard
d301f2a532
ubuntu-cpc: add ability add arbitrary hooks for extending builds
9 years ago
Ben Howard
467619d1a1
ubuntu-cpc: generate Vagrant images
9 years ago
Ben Howard
e96df0c156
ubuntu-cpc: generate OVA images.
9 years ago
Ben Howard
92f63b3e6b
ubuntu-cpc: added OVF templates for generating OVA and Vagrant Images
9 years ago
Ben Howard
b31233589e
ubuntu-cpc: generate VMDK disks
9 years ago
Ben Howard
bc5dbaaca5
ubuntu-cpc: generate squashfs based on the rootfs tarball
9 years ago
Ben Howard
e4553137ac
ubuntu-cpc: generate manifest for root tarball
9 years ago
Ben Howard
a40cfd6180
ubuntu-cpc: Move apt-get to the top of uefi disk creation
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
Oliver Grawert
b632fd0492
drop input group from snappy images, adjust md5 sums in live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
9 years ago
Daniel Watkins
216762748b
Move building of all architecture-specific CPC artifacts in to
...
Launchpad.
9 years ago
Michael Vogt
49f1896c8d
live-build/auto/config: add note about seeding
9 years ago
Michael Vogt
46d1138e5a
* live-build/ubuntu-core/hooks/21-snappy-security-policy-stamp.chroot:
...
- create a /usr/share/snappy/security-policy-version so that
snappy can re-generate the security profiles if any of the versions
of apparmor or ubuntu-core-security-* changes
9 years ago
Ben Howard
60a523d216
Cloud Images: disable new NIC naming convention (LP: #1510345 ).
9 years ago
Oliver Grawert
81edee0431
fix handling of writable files in /etc/default for snappy
9 years ago
Oliver Grawert
952fa460d4
fix tss UID in snappy (landing can wait for xenial)
9 years ago
Oliver Grawert
912e02dc1e
do not hardcode installation of grub-pc for amd64 in snappy images, instead install the right grub set for secureboot there
9 years ago
Oliver Grawert
0054a24f90
limit grub-install diversion on snappy images to x86 architectures
9 years ago
Oliver Grawert
cc7950e55c
divert grub-install on snappy images during rootfs build
9 years ago
Łukasz 'sil2100' Zemczak
0bceb09c4b
The apt lists removal hook needs to be for the binaries.
9 years ago
Oliver Grawert
1c00dc358f
merge lp:~sil2100/livecd-rootfs/remove_apt_lists
9 years ago
Oliver Grawert
8d737ad1c9
add user/group fixes for snappy shipping tpm-tools
9 years ago
Łukasz 'sil2100' Zemczak
47d0469af5
Add hook that removes all apt lists for ubuntu-touch images. Our apport now works without them on the read-only images and this way we can save up some space.
9 years ago
Michael Vogt
fe696a8bb9
merged lp:~sil2100/livecd-rootfs/pocket-desktop
9 years ago
Łukasz 'sil2100' Zemczak
a559b98c8b
Install the meta package as part of one add_package install call.
9 years ago
Łukasz 'sil2100' Zemczak
57f0507518
As suggested by Colin, first add the meta packages, then the other deps.
9 years ago
Łukasz 'sil2100' Zemczak
e0fcd94074
Switch to the project approach, add a symlink for the hooks
9 years ago
Łukasz 'sil2100' Zemczak
5907a20a56
Fix indent
9 years ago
Ben Howard
a382f7e64a
Drop 'landscape-client' from Cloud Images (LP: #1497030 ).
9 years ago
Łukasz 'sil2100' Zemczak
e4744f68ce
Ok, again try convincing people that using a subproject here is the way to go...
9 years ago
Iain Lane
5f8d6e06de
live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Set up /etc/whoopsie
...
too. (LP: #1437633 )
9 years ago
Oliver Grawert
6813f1c965
add empty "extrausers" equivalents for subuid and subgid files, else adduser falls over in interactive mode when trying to write to them
9 years ago
Oliver Grawert
5d6faa5c6f
ubuntu-touch, ubuntu-desktop-next: drop systemd-journal-remote from group files, update md5sums in 00-uid-gid-fix.chroot_early
9 years ago
Oliver Grawert
0601725f85
add ppp and watchdog to snappy image
9 years ago
Oliver Grawert
20ccbbb944
releasing package livecd-rootfs version 2.340
9 years ago
Michael Vogt
c2407a6679
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
...
- cleanup further after moving the kernel out of the rootfs
(LP: #1468469 )
9 years ago
Oliver Grawert
5e6b64e039
drop copying of zip files of the android package, we do not generate these anymore
10 years ago
Oliver Grawert
93deed0c3a
revert the debugging code in the apparmor cache generation, touch the cache files to sanitize the timestamps
10 years ago
Oliver Grawert
ec1b6f24ae
add the apparmor-super-noise change to get extra detailed info about all apparmor operations in the ubuntu-touch build logs
10 years ago
Oliver Grawert
48faa53d7b
merge lp:~sil2100/livecd-rootfs/deb-src_for_extra_ppas to include deb-src lines for extra ppa sources.list entries
10 years ago
Oliver Grawert
3f8e2ee18e
make apparmor profile generation more verbose to get more log info
10 years ago
Oliver Grawert
751153543a
merge change for 2.335 from the archive
10 years ago
Oliver Grawert
23341f3670
add dnsmasq user to snappy builds, needed by ubuntu-fan
10 years ago
Michael Vogt
133addd590
live-build/ubuntu-core/hooks/16-ensure-uboot.chroot: we need to go into redundEnv mode to get the 5byte header that uboot uses by default, don't ask why
10 years ago
Michael Vogt
4d2b68630d
its /etc/fw_env.config
10 years ago
Michael Vogt
b3b321ea92
create fw_env.conf on armhf so that fw_{set,print}env works
10 years ago
Sebastien Bacher
50e0f20c69
Get previous ubuntu-core changes on desktop-next
10 years ago
Oliver Grawert
0d7da3cc2c
merge lp:~sergiusens/livecd-rootfs/eth0Not to not hardcode eth0 anymore on snappy
10 years ago
Oliver Grawert
572da9cdec
fix another quoting issue in snappy
10 years ago
Steve Langasek
cf35d19929
Merge lp:~sil2100/livecd-rootfs/remove_youtube_scope
10 years ago
Oliver Grawert
0805723ed1
fix quoting issue with the last change
10 years ago
Sergio Schvezov
fac57fb6c6
Using versioned kernel and initrd for generating assets and removing uneeded files from the device part
10 years ago
Oliver Grawert
68b8470200
snappy: install libc6:i386 on amd64 images for multiarch support out of the box. (LP: #1444049 )
10 years ago
Sergio Schvezov
3b4f42857b
Removing creation of eth0 file now that it is not deterministic to be the ethernet device on the system
10 years ago
Sebastien Bacher
5e3ce6bece
* live-build/ubuntu-touch/includes.chroot/etc/lightdm/lightdm.conf.d/
...
90-phablet.conf:
- don't use deprecated "[SeatDefault]" syntax
* live-build/ubuntu-desktop-next/includes.chroot/usr/share/lightdm/
lightdm.conf.d/90-desktop-next-autologin.conf:
- let desktop-next autolog to the ubuntu user session
10 years ago
Sebastien Bacher
b09e00ce86
Revert unwanted change included in the previous upload
10 years ago
Sebastien Bacher
ec055144e7
* live-build/ubuntu-desktop-next/hooks/11-remove-extra-packages.chroot:
...
- remove click from desktop-next
10 years ago
Sebastien Bacher
92a84da7df
* live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
...
- updated for the previous group changes
10 years ago
Sebastien Bacher
4e72259593
Copied some touch tweaks (n-m config and user groups) to desktop-next
10 years ago
Łukasz 'sil2100' Zemczak
cb31811ce8
Split out the youtube scope to the custom tarball since some images can't have it pre-installed (e.g. arale China images).
10 years ago
Michael Vogt
bec5e3ea81
rename clickpkg -> snappypkg
10 years ago
Sergio Schvezov
6c641f01d2
[ Sergio Schvezov ]
...
removing debian packaging artifacts from the image
10 years ago
Sebastien Bacher
6170d6a92b
copy set locale hook from core to desktop-next
10 years ago
Sergio Schvezov
9e312edd32
why did desktop next ever build for azure?
10 years ago
Sergio Schvezov
c3b8dc32b1
Remove walinuxagent
10 years ago
Sergio Schvezov
53dcbdad2b
Removing debian assets from the final image
10 years ago
Sebastien Bacher
95a961d6f1
* live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
...
* live-build/ubuntu-desktop-next/hooks/10-remove-documentation.binary:
- don't remove the copyright and manpages on desktop
10 years ago
Oliver Grawert
2667aa6305
allow install of "multi" click packages in 60-install-click.chroot on ubuntu-touch
10 years ago
Sebastien Bacher
5fa4811051
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
...
- copy touch hacks to create needed userdirs (lightdm & usermetrics),
the users are added by the script and not the usual postinst so their
uderdirs are not created as they should
10 years ago
Sebastien Bacher
eb41638781
* live-build/ubuntu-desktop-next/includes.chroot:
...
- copy ubuntu-core's include for /etc/hosts and resolv.conf config
10 years ago
Sebastien Bacher
e5923e7135
* live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
...
- create other needed directories
10 years ago
Sebastien Bacher
f34c4faf70
* live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
...
- create /writable otherwise the mounts job fail and block the boot
10 years ago
Sebastien Bacher
1116e3b439
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary,
...
live-build/ubuntu-desktop-next/hooks/500-move-kernel-to-device-tar.binary,:
- deal with vmlinuz .signed when copying kernels
10 years ago
Sebastien Bacher
26fcda4616
Set kernel flavours variable to try to fix amd64 build
10 years ago
Iain Lane
e51446f712
remove trailing tab
10 years ago
Iain Lane
6b7611c6e3
ubuntu-core-system-image: fix indentation
10 years ago
Sebastien Bacher
c50bcc7160
Revert symlink changes, that creates build issues, copy updated hook
...
to the desktop-next directory instead
10 years ago
Sebastien Bacher
1f3dfce9e9
Symlink some desktop-next hooks to ubuntu-core to avoid duplication
10 years ago
Michael Vogt
7245efa89f
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
...
- ignore /vmlinu?, /initrd.img symlinks when building the boot assets
10 years ago
Sebastien Bacher
904873a8bf
Updates users and groups for desktop next
10 years ago
Sebastien Bacher
26012cb9ef
Don't add a docker group to desktop next
10 years ago
Sebastien Bacher
408af9a405
Updated user/groups config for the desktop-next
10 years ago
Sebastien Bacher
036bf55f06
Copy desktop-next hooks in the configuration
10 years ago
Sebastien Bacher
f127f1ac73
Remove duplicated code leftover in the previous desktop-next changeset
10 years ago
Michael Vogt
89dddd357a
revert r1120,r1121 and do not pre-generate the apparmor cache during live-build
10 years ago
Michael Vogt
293cd5e802
live-build/ubuntu-core/hooks/90_precompile-apparmor.chroot: remove apparmor_parser '-M' option
10 years ago
Michael Vogt
605fec8877
* live-build/ubuntu-core/hooks/90_pecompile-apparmor.chroot:
...
- generate /etc/apparmod.d/cache files during image build to
avoid out-of-sync issue with profiles and cache (LP: #1460152 )
10 years ago
Didier Roche
b79dcfc1b7
Experimenting transforming ubuntu-desktop-next to a system-image base
10 years ago
Oliver Grawert
6a4ad0b3bc
also add /lib/firmware to the dirs we pre-create on touch and core
10 years ago
Oliver Grawert
f8ad795e55
create mtab, /lib/modules and writable mountpoints on touch and core
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
Adam Conrad
6835c86edc
Conditionalize copying extra-ppas.pref.chroot around
10 years ago
Michael Vogt
6eddccab54
* live-build/auto/config:
...
- add grub-efi-ia32-bin for i386 for efi support
10 years ago
Adam Conrad
e79e2e6493
live-build/auto/config: Handle applying priorities to EXTRA_PPAS
...
via the extra_ppa="user/ppaname:priority" syntax (LP: #1450257 )
10 years ago
Michael Vogt
c10fd7dd72
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
...
- fix typo in hardware.yaml
10 years ago
Michael Vogt
e0b6feda6c
create /boot/uboot on armhf to ensure that its in the system
...
tarball and still on the system if ubuntu-core-upgrader
performs a "format" (LP: #1447652 )
10 years ago
Steve Langasek
72b1fda00f
live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot: revert
...
removal of python from the rootfs temporarily, since we've manually
re-added it to the seed in order to make walinuxagent work again on the
azure image.
10 years ago
Didier Roche
db631a4d2f
fix some typo and take colin's feedback into account
10 years ago
Didier Roche
c59f8ebacd
removed the part that is in the seed and ubiquity
10 years ago
Didier Roche
b35e94e457
add build main configs
10 years ago
Didier Roche
5c619086a1
Create hooks for the ubuntu-desktop-next new based on snappy image.
10 years ago
Adam Conrad
34e34e46c5
Fix snappy motd to not reference 'development', which isn't always true.
10 years ago
Michael Vogt
91e0450507
shuffle install order around
10 years ago
Michael Vogt
5e5abfdb83
* live-build/auto/config:
...
- remove resolvconf, click-apparmor, dosfstools
10 years ago
Michael Vogt
65cf994497
live-build/ubuntu-core/hooks/15-remove-grub-common.chroot: remove /etc/init.d/grub-common on ubuntu-core
10 years ago
Michael Vogt
8c51ae1b4d
remove click-hook-framework
10 years ago
Michael Vogt
1167706f83
* lp:~ubuntu-on-ec2/livecd-rootfs/cpc2:
...
- build cloud based images using livecd-rootfs
10 years ago
Michael Vogt
df931c05f7
fix device.tar.gz generation for snappy
10 years ago
Daniel Watkins
e35f15106f
Don't try to install acpiphp any more (LP: #1430323 ).
10 years ago
Daniel Watkins
164c195a3a
Set ext image options.
10 years ago
Daniel Watkins
e9b8a62a5a
Get the right package sets for arm* and ppc64el.
10 years ago
Daniel Watkins
ef9f3be0de
Install the correct kernels on each arch.
10 years ago
Daniel Watkins
9daf532fd4
Put our fstab in place.
10 years ago
Daniel Watkins
bdc58d490c
Set the root_fs_label correctly.
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
Daniel Watkins
928a79af1e
Add hooks and includes.
10 years ago
Daniel Watkins
941d2b3ae1
Add our own hook.
10 years ago
Daniel Watkins
d4598f8326
Get images building without our custom live-build.
10 years ago
Daniel Watkins
e5651db1a7
Get an image that looks about right building.
10 years ago
Michael Vogt
9b056c874a
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: update for the new syslog user
10 years ago
Michael Vogt
78304debb8
live-build/ubuntu-core/hooks/15-pycompile-snappy.chroot: removed, no longer needed with snappy-go
10 years ago
Michael Vogt
c82069baf6
add compability handling for current u-d-f/grub when extracting
...
the device tarball
10 years ago
Michael Vogt
2b070c5a9e
merged lp:~snappy-dev/livecd-rootfs/core_update and added some fixes
10 years ago
Oliver Grawert
c96f3ee088
add ubuntu-system-settings-online-accounts to ubuntu-touch
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
4e89d09ba2
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
...
- remove libpython2.7 and friends as welll
10 years ago
Oliver Grawert
2445352cbd
bump all md5sums to new values, now that debootstrap installs systemd-sysv instead of upstart the ordering and thus the group numbering has changed
10 years ago
Michael Vogt
d2e794ed53
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
...
- updated md5sums as the ordering of users/groups has changed with
the new systemd-sysv
10 years ago
Michael Vogt
1583b1d23a
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
...
- python2 is no longer required on a snappy system
10 years ago
Oliver Grawert
a2b1b4f071
put FLASH_KERNEL_SKIP=true into /etc/environment on phones
10 years ago
Michael Vogt
685606051e
do not leave some packages in ^rc state on snappy/ubuntu-core
...
(LP: #1428115 ). Thanks to Daniel Holbach
10 years ago
Martin Pitt
8638bb4db9
touch: Explicitly uninstall systemd-sysv, to help apt to install upstart
...
when the preferred "init" alternative is systemd-sysv. Also explicitly
install packagekit to help the problem resolver. Thanks Colin Watson!
(LP: #1428026 )
10 years ago
Oliver Grawert
6d7d128ad7
add info about /var/log ownership so it ends up in the ubuntu-touch build logs
10 years ago
Ricardo Salveti de Araujo
74d4fd5228
touch: don't depend on mir-platform-graphics-android and let that to be
...
handled by the seeds (they can't stop bumping the package name and the
graphics-mesa package doesn't cause any harm)
10 years ago
Michael Vogt
bb12ddb0e3
add dosfstools on snappy to ensure systemd can fsck the /boot
...
partition
10 years ago
Sergio Schvezov
d17765176b
Initial implementation of device tarball
10 years ago
Oliver Grawert
d2f09a32d8
make sure /var/log is always owned by the syslog group on touch
10 years ago
Michael Vogt
94a77fcb8b
* live-build/auto/config:
...
- add snappy-ubuntu
10 years ago
Michael Vogt
306dbdbbab
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
...
- adjust the {group,gshadow}_bootstrap values. The audio group
used to be gid 1005 after the bootstrap and is now 29.
10 years ago
Michael Vogt
7c61ea6307
add even more verbose output to
...
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
(thanks Oliver!)
10 years ago
Ricardo Salveti de Araujo
e97e25472e
touch: forcing package mir-platform-graphics-android to see if we're able
...
to remove the dependency on the mesa one (until mir is properly fixed)
10 years ago
Ricardo Salveti de Araujo
a353cd0406
touch: removing dependencies on a specific mir platform driver as mir can
...
now identify and load the correct driver during runtime
10 years ago
Oliver Grawert
74becdec36
bump gshadow hash too
10 years ago
Oliver Grawert
ec8c53b265
make sure to collect all output of all changed files in one go in 00-uid-gid-fix.chroot_early, that way we only need to fix it once and have all info in the logs
10 years ago
Michael Vogt
f987c6f3d4
add more verbose output to
...
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
(thanks Oliver!)
10 years ago
Oliver Grawert
aa06a4fde7
update the passwd hash for changed GID of syslog ... also add output of the respective md5sums to the error message for easier debugging
10 years ago
Oliver Grawert
f74887c91e
add more verbose output to live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early
10 years ago
Loïc Minier
1b037f5e20
live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot: use commas
...
instead of spaces.
10 years ago
Loïc Minier
4a1ccc7b13
Revert changes to post-debootstrap hashes for core.
10 years ago
Loïc Minier
95e9f1d8e8
Update post-debootstrap hashes in
...
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early.
10 years ago
Loïc Minier
29c976b326
Core: drop live-build/ubuntu-core/hooks/12-add-docker-user.chroot and move
...
docker user creation to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early; add ubuntu user
to docker group in
live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot. This fixes
static uid/gid maps for docker user/group.
10 years ago
Loïc Minier
9bda91ee77
live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early: also add input
...
group.
10 years ago
Loïc Minier
ebb7684dd8
Add live-build/ubuntu-core/hooks/99zz-check-uid-gid.chroot, copy of
...
live-build/ubuntu-touch/hooks/99zz-check-uid-gid.chroot with just the
error message changed. Currently, the passwd/group checks weren't run.
10 years ago
Loïc Minier
4b414c06a6
Reapply changes from 1033..1038; fix conflict in changelog.
...
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: add new "input"
group to etc/group and etc/gshadow static maps.
* live-build/ubuntu-core/includes.chroot/etc/resolv.conf: use relative
symlink as suggested by lintian.
* Bump Standards-Version to 3.9.6.
10 years ago
Loïc Minier
5f8355200a
Revert to r1033 to apply uncommitted upload.
10 years ago
Loïc Minier
b2ef67476a
live-build/ubuntu-core/includes.chroot/etc/resolv.conf: use relative
...
symlink as suggested by lintian.
10 years ago
Loïc Minier
9256eed5b5
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: add new "input"
...
group to etc/group and etc/gshadow static maps.
10 years ago
Loïc Minier
94a5c45de1
Remove quotes in <<'EOF' constructs to limit the diff with the -touch version
...
of the hook.
10 years ago
Mathieu Trudel-Lapierre
a0c319884d
- live-build/auto/config: add config for Ubuntu MATE.
...
- also fold +ppa* changes into just one version 2.276.
10 years ago
Ubuntu MATE Developers
c58da8adfa
Refactored based on merge proposal feedback.
10 years ago
Michael Vogt
4a31290a0f
use generic kernel for all ubuntu-core system-image
10 years ago
Michael Vogt
f786a86cb2
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
...
- run chpasswd after user moved into /var/lib/extrausers
10 years ago
Michael Vogt
e226eb6331
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
...
- run with -e
10 years ago
Steve Langasek
6d34c7a9e9
live-build/ubuntu-core/hooks/04-configure_network.chroot: use
...
'allow-hotplug' for the network config, not 'auto', to work around
systemd behavior that causes 'auto' to delay the rest of the boot when
DHCP is not available on the network.
10 years ago
Michael Vogt
d1b1d9e6c1
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
...
- port static uid/gid setup from ubuntu-touch
* live-build/ubuntu-core/hooks/15-pycompile-snappy.chroot:
- byte compile .pyc files for snappy
10 years ago
Ricardo Salveti de Araujo
0ba451f9df
Bump the hardcoded libmirplatform driver version for ubuntu-touch
10 years ago
Michael Vogt
b1c0d77000
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
...
- port static uid/gid setup from ubuntu-touch
10 years ago
Martin Wimpress
ec95236c23
Add support for Ubuntu MATE.
10 years ago
Michael Vogt
52f8a0544f
- fix message
...
* live-build/ubuntu-core/hooks/14-set-motd.chroot:
- update motd
10 years ago
Michael Vogt
6e90ef925e
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
...
- fix incorrect "echo"
- add missing wrappers for apt, apt-cache
10 years ago
Michael Vogt
818be95bf2
* live-build/auto/config:
...
- add click-apparmor for system-image
10 years ago
Michael Vogt
194d124af7
merged lp:~jamesodhunt/livecd-rootfs/system-image-compress-docs-for-core
10 years ago
Michael Vogt
292ff17165
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
...
- improve apt-get output
10 years ago
James Hunt
c6a5d4c8a5
* live-build/ubuntu-core/hooks/10-remove-documentation.binary:
...
- compress remaining documentation to save further space.
10 years ago
Oliver Grawert
6b2958ff7a
add systemd-journal-remote group to touch builds
10 years ago
Michael Vogt
648dc764a3
* live-build/ubuntu-core/hooks/14-set-motd.chroot:
...
- set snappy specific motd
* live-build/ubuntu-core/hooks/13-set-locale.chroot:
- set default locale to C.UTF-8
10 years ago
Oliver Grawert
d6df152ead
bump the hardcoded libmirplatform driver version for ubuntu-touch
10 years ago
Oliver Grawert
f0ec33bb1b
bump version of mir alternative in ubuntu-touch
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
d6b5acbee3
* live-build/ubuntu-core/hooks/09-move-kernel-to-device-tar.binary:
...
- build device tarball with system/ prefix
- include /vmlinz, /initrd.img into device tarball
- include /boot/abi-* /boot/System.map-*
10 years ago
Michael Vogt
de1a889d17
add click-hook-framework
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
Michael Vogt
8af855c26d
* live-build/auto/config:
...
- system-image: do not install ubuntu-minimal
- system-image: install KERNEL_FLAVOURS=virtual on i386/amd64
- system-image: use "--linux-packages=linux-image"
10 years ago
Steve Langasek
1bec61e622
Move the shorts click package to the custom tarball. LP: #1386177 .
10 years ago
Michael Vogt
6d1a165421
* live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot:
...
- only modify /etc/default/grub if the file exists
10 years ago
Michael Vogt
d142da3fbb
* live-build/auto/config:
...
- also install flash-kernel/u-boot-tools in the armhf system-image,
thanks to Adam Conrad
10 years ago
Michael Vogt
d1aed3dd90
* live-build/auto/config:
...
- explicitly set KERNEL_FLAVOURS=generic to get the right kernel
on armhf
10 years ago
Oliver Grawert
3bf1ea2cb3
add systemd users to touch password db files
10 years ago
Oliver Grawert
5dc7bbd2ab
make diff not exit 1 when comparing password files
10 years ago
Oliver Grawert
71df9bb84e
properly redirect error output in 99zz-check-uid-gid.chroot so it ends up in the log files
10 years ago
Michael Vogt
1d9ee67e4e
merge fixes from the ubuntu-system-image PPA
10 years ago
Oliver Grawert
00daad436c
adjust /etc/{passwd|shadow|group|gshadow} handling in ubuntu-touch for more info so the log gets all needed data for necessary changes at once
10 years ago
Colin Watson
e74d0c509b
Drop the click packages moved in 2.255 from the rootfs, leaving them
...
only in the custom tarball.
10 years ago
Colin Watson
ee2b82dfe7
Fix directory layout of custom tarball.
10 years ago
Colin Watson
b41729958a
Clean up duplicate AppArmor cache entries between rootfs and custom.
10 years ago
Colin Watson
f4589e7c31
Fix linking of manifest into /custom/lib/apparmor/clicks/.
10 years ago
Colin Watson
68e78ecd52
Fix manifest_tail computation.
10 years ago
Colin Watson
448c8f9fc0
Rearrange AppArmor policy precompilation to handle a click package being in multiple locations.
10 years ago
Colin Watson
95c970f52f
Take a different approach to working around deduplication cleverness in click, this time hopefully without breaking hooks.
10 years ago
Colin Watson
5d707813f0
Move default click database configuration aside while installing click packages, otherwise click gets clever and stops us installing things into multiple databases.
10 years ago
Colin Watson
a10e22f77b
Temporarily install the to-be-moved click packages in both core and
...
custom databases, to simplify the landing process.
10 years ago
Colin Watson
b47dbe69a7
merge trunk
10 years ago
Colin Watson
5407721469
sort by package name
10 years ago
Oliver Grawert
908891a41a
ubuntu-touch: make sure we force the android alternative for libmir*- packages, in case their -mesa equivalent is installed by accident
10 years ago
Colin Watson
4570a8250f
Update hardcoded libmir*-android installations for Mir 0.8.0.
10 years ago
Steve Langasek
b6d1950e37
Fix a typo
10 years ago
Steve Langasek
23f92bce16
Whoops, fix the directory inclusion
10 years ago
Steve Langasek
b423980cd5
Make sure the apparmor profiles and manifests end up in the custom directory, not in the rootfs
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
Michael Vogt
026fcaffe5
merged lp:~jamesodhunt/livecd-rootfs/system-image-really-fix-resolvconf-for-ubuntu-core
10 years ago
James Hunt
3ed35d22c6
Convert resolvconf hook from a chroot hook to a binary hook since lb
...
overwrites /etc/resolv.conf after the chroot hooks have run.
10 years ago
Michael Vogt
505a9cfc7e
add /etc/hosts
10 years ago
Michael Vogt
5529dcea7a
do not install recommends in system-image
10 years ago
James Hunt
7fdb47c749
live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Remove
...
pre-existing /etc/resolv.conf.
10 years ago
Colin Watson
496a1d2d8e
[r=cjwatson] live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot: Configure system-image-cli's client.ini for Ubuntu Core. This can be dropped once bug 1373467 is fixed.
10 years ago
Colin Watson
38eab440d5
[r=cjwatson] live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Configure resolv.conf for Ubuntu Core.
10 years ago
Stéphane Graber
83120c758c
Pre-create some home directories
10 years ago
James Hunt
b38f657edc
live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot:
...
Configure system-image-cli's client.ini for Ubuntu Core. This can be
dropped once bug 1373467 is fixed.
10 years ago
James Hunt
adb0cf2c53
live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Configure
...
resolv.donf for Ubuntu Core.
10 years ago
Colin Watson
2c6b1246b4
live-build/auto/config: Use ubuntukylin-live task for ubuntukylin, not
...
ubuntu-live (LP: #1372731 ).
10 years ago
Stéphane Graber
9caf7cafdd
* Add two new hooks for Ubuntu Touch to setup sensible /etc/passwd,
...
/etc/shadow, /etc/group and /etc/gshadow PRIOR to package installation
to guarantee user/group ordering on the image and then to check for any
unexpected change to those files. (LP: #1332538 )
Any change to either the initial set of users and groups or to the
post-package-install set will now be fatal to the image and will require
a manual update of the hardcoded user/group list contained in this new
chroot_early hook.
* Bump dependency on live-build accordingly.
* Update the setup_user hook to also take care of gshadow.
10 years ago
Colin Watson
e76df6e4ce
Substitute DEB_HOST_MULTIARCH into hook scripts at build time, rather
...
than relying on dpkg-architecture (which is in dpkg-dev) to be present
in the image.
10 years ago
Ricardo Salveti de Araujo
79e38ec819
Updating apparmor features file for Ubuntu Touch
10 years ago
Colin Watson
8f99537f39
live-build/auto/config: Use ubuntukylin-desktop task for ubuntukylin,
...
not ubuntu-desktop.
10 years ago
Michael Terry
f233caeab8
* live-build/ubuntu-touch/hooks/01-setup_user.chroot:
...
- Don't modify PAM files directly, we'll let ubuntu-touch-session
do that for us the proper way. (LP: #1348637 )
11 years ago
Stéphane Graber
c101279ca2
Revert switch from chroot to binary as it breaks the build.
11 years ago
Stéphane Graber
fea26f371f
ubuntu-core system-image: Move grub hook from chroot to binary.
11 years ago
James Hunt
5182d896dc
* 03-boot_with_systemd.chroot: Check if /etc/default/grub exists
...
(temporary fix which to stop build failing - grub will be unconfigured
though.
* 05-create_minimal_fstab.chroot: Configure a minimal /etc/fstab to
allow systemd to mount the rootfs read-write.
11 years ago
Colin Watson
9d264ef529
ubuntu-core: Add click-systemd to preinstalled image (currently only in
...
a PPA, so can't use tasks for this).
11 years ago
Colin Watson
b26cb2065e
[r=cjwatson] ubuntu-core:
...
- Perform in-place edit.
- Allow variable expansion.
11 years ago
James Hunt
f447fd56ed
* Tweaks based on review comments.
11 years ago
James Hunt
6627b99d73
* More haste, less speed:
...
- Perform in-place edit.
- Allow variable expansion.
11 years ago
Colin Watson
49c93a618b
Only add the ubuntu-core hooks for the system-image subproject.
11 years ago
James Hunt
e4719c1cfc
* Use /etc/network/interfaces.d/ rather than /etc/network/interfaces.
11 years ago
James Hunt
c676a8fbac
* ubuntu-core:
...
- Don't remove doc to be kind to devs.
- Boot with systemd (temporary method until we have systemd-sysv).
- Configure first network interface.
11 years ago
Colin Watson
f764b07ebf
[r=cjwatson] ubuntu-core: Run setup hooks as done for ubuntu-touch.
11 years ago
Colin Watson
a3ff57899e
live-build/auto/config: Add configuration for new kubuntu-plasma5
...
flavour.
11 years ago
James Hunt
5d24b90fcd
* live-build/auto/config: Enable universe for system-image ubuntu-core
...
sub-project which requires 'system-image-cli'.
11 years ago
Colin Watson
46c8a87152
normalise whitespace
11 years ago
James Hunt
60a334d0cf
* ubuntu-core: Ensure user can use sudo.
11 years ago
James Hunt
de8c39ff98
* ubuntu-core: Run setup hooks as done for ubuntu-touch.
11 years ago
Steve Langasek
e583d515d7
Hard-code installation of libmirclientplatform-android and
...
libmirplatformgraphics-android to avoid accidentally pulling in the
-mesa variants that are preferred as dependencies of libmirclient and
libmirserver.
11 years ago
Michael Vogt
e0d60c9c07
* lp:~mvo/livecd-rootfs/ubuntu-core-system-image:
...
- install the "ubuntu-core" task and a kernel when building
ubuntu-core with SUBPROJECT=system-image
11 years ago
Steve Langasek
edbb9763c7
Merge lp:~mterry/livecd-rootfs/no-password
11 years ago
Michael Vogt
b4da1a2239
install the kernel in the system-image subproject
11 years ago
Michael Vogt
22ce1e0085
live-build/auto/config: when run with SUBPROJECT=system-image add ubuntu-core task to the ubuntu-core build
11 years ago
Colin Watson
824344f4a0
Pass --mirror-binary in the ubuntu-rtm case too; this isn't inherited
...
from the bootstrap mirror.
11 years ago
Colin Watson
39d74ced11
Pass --mirror-chroot-security and --mirror-binary-security in the
...
ubuntu-rtm case, as the default of http://security.ubuntu.com/ubuntu/
isn't going to have ubuntu-rtm suites.
11 years ago
Colin Watson
09f615034a
Apply a grievous hack to get debootstrap working against ubuntu-rtm
...
series.
11 years ago
Colin Watson
a0abe0888b
Disable apt authentication checks when building ubuntu-rtm images
...
against dogfood (that test archive is signed, but not with a very useful
key).
11 years ago
Michael Terry
a1e5f63805
Enable libnss-extrausers
11 years ago
Colin Watson
4552e515ce
Use the soon-to-exist ubuntu-rtm archive for ubuntu-touch builds if
...
SUBPROJECT is ubuntu-rtm (or ubuntu-rtm/dogfood for the dogfood
version).
11 years ago
Oliver Grawert
307c451da1
drop extra space in DEFGROUPS variable
11 years ago
Oliver Grawert
fafbf13abb
add android_cache group and add phablet user to it
11 years ago
Ricardo Salveti de Araujo
629433d3c4
Precompiling apparmor policies on touch
11 years ago
Michael Terry
422787d8ff
and allow minimum length of 4
11 years ago
Michael Terry
28f16fd7d6
Allow weak passwords
11 years ago
Michael Terry
6821cae1d7
Set password to blank rather than the arbitrary 'phablet'
11 years ago
Ricardo Salveti de Araujo
e50449a994
Adding android_nvram group to the touch image
11 years ago
Oliver Grawert
aaae8194af
add media group to touch images
11 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
Colin Watson
8fa8c644c2
Install linux-signed-generic directly in live passes rather than relying
...
on it being in the corresponding tasks. linux-signed-generic shouldn't
be in a task because that expands to ABI-versioned packages, and tasks
can't be updated post-release.
11 years ago
Oliver Grawert
d04c2c068b
drop the default creation of SWAP.swap files for all preinstalled devices
11 years ago
Oliver Grawert
7e6b25ddf3
drop the initscripts hack again
11 years ago
Oliver Grawert
09573cf33c
make 70-reconfigure-autopilot.chroot hook executable
11 years ago
Oliver Grawert
17d7b3823b
add live-build/ubuntu-touch/hooks/85-hack-hack-hack-the-initscripts.chroot as a quick hack to get writability back on the phone images ... THIS IS TEMPORARY
11 years ago
Iain Lane
4150b7a896
Add ubuntu-sdk-libs too
11 years ago
Iain Lane
f41714bd5b
ubuntu-desktop-next: Use the Task fiels that the archive now has for this
...
project.
11 years ago
Colin Watson
4923df1abf
The EXTRA_ARCHIVES environment variable defined in 2.212 doesn't quite
...
work properly because it doesn't allow for signing key configuration.
Rename it to the more domain-specific EXTRA_PPAS (which is now a
space-separated sequence of <ppa-owner>/<ppa-name> pairs), and fetch
signing keys for those from Launchpad using python3-software-properties.
11 years ago
Colin Watson
c34a62ec3b
normalise whitespace
11 years ago
Colin Watson
83c397cf2e
live-build/auto/config: If EXTRA_ARCHIVES is set in the environment,
...
dump its value into config/archives/extra-archives.list.chroot and
config/archives/extra-archives.list.binary. This makes it easier for a
builder to build an image against an additional PPA.
11 years ago
Iain Lane
3ce6f0c289
Add an ubuntu-desktop-next project for building a desktop flavour
...
including Unity 8 and the applications developed for Ubuntu Touch.
11 years ago
Colin Watson
807ee32efc
live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot: Fix test
...
for whether a package is installed, and check for both python-autopilot
and python3-autopilot.
11 years ago
Iain Lane
23beed5123
Install the metapackage from the seed instead of just the session
...
nb: can't use the task as this isn't generated yet
11 years ago
Iain Lane
0ebe5e57b1
Add unity8 flavour
11 years ago
Colin Watson
34ea5156cf
live-build/auto/config: Pass any additional command-line arguments on to
...
"lb config".
11 years ago
Ricardo Salveti de Araujo
0fe1485ba8
Adding support for ubuntu-touch i386 based images
11 years ago
Michael Zanetti
62b55b45e8
drop QML2_IMPORT_PATH to load SF stuff
11 years ago
Ricardo Salveti de Araujo
fdf26caffd
touch/80-enable-libhybris.chroot: making libhybris the default alternatives
...
for EGL/GLESv2 on touch
11 years ago
Oliver Grawert
5602f1e926
dropping maguro and adding flo, changing golfish to generic in touchsubarches
11 years ago
Ricardo Salveti de Araujo
84262b6f94
touch/48-setup-env.chroot: QML2_IMPORT_PATH should respect
...
DEB_HOST_MULTIARCH (as we now have i386 builds as well)
11 years ago
Your Name
b646083ad7
Add hostname and machine-info to the writable paths, so that hostnamectl
...
can change them to create a sane default bluetooth device name.
11 years ago
Chris Wayne
4b74aba181
only touch /etc/writable/machine-info
11 years ago
Chris Wayne
a28790c6f9
Touch file if it doesnt exist
11 years ago
Chris Wayne
2cc7d04ffd
live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Add hostname to the list of writable files
11 years ago
Adam Conrad
2fa8a6f24e
Add the minimal task to ubuntu-core to preserve brand consistency.
11 years ago
Chris Wayne
03764235e8
live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Add /etc/machine-info to /etc/writable, which allows user to change the bluetooth device name by setting PRETTY_HOSTNAME
11 years ago
Oliver Grawert
d0e663b470
add support for copying goldfish android images out of the android package
11 years ago
Oliver Grawert
da3e3e4168
fix quoting in click installer egrep call
11 years ago
Oliver Grawert
68d3bbf11f
make the click package installation check for proper architecture
11 years ago
Stéphane Graber
a9e80f9118
releasing version 2.198
11 years ago
Sergio Schvezov
51a8beab46
Removing the PPAs for Ubuntu Touch builds.
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
43f65991b4
drop SHELL=/system/bin/sh from /etc/environment on touch images
11 years ago
Oliver Grawert
3d0f8e22d5
list click packages in teh manifest file on ubuntu touch
11 years ago
Martin Pitt
f61be85fdc
ubuntu-touch: Make writable symlinks relative.
11 years ago
Martin Pitt
3e85549e36
do not handle /etc/adjtime, it should not be in phone builds altogether
11 years ago
Martin Pitt
7e84ea20c6
ubuntu-touch: Add 03-etc-writable.chroot hook to move/symlink files in
...
/etc to /etc/writable/ that we need to update atomically. At the moment
these are adjtime, timezone, localtime. (LP: #1227520 )
11 years ago
Colin Watson
0b0c108526
Explicitly add the ubuntu-desktop task to Edubuntu builds, so that any
...
ambiguous dependencies resolved by the contents of the ubuntu-desktop
task are actually resolved reliably.
11 years ago
Oliver Grawert
49e2569109
ship policykit rules for networkmanager, now that we use it on touch
11 years ago
Oliver Grawert
8ebc164aa1
remove QT_QPA_PLATFORM from ubuntu-touch
11 years ago
Oliver Grawert
bbf1758094
drop phablet-team PPa sources.list entries from touch
11 years ago
Michael Terry
6d80ab3c54
Add changelog message, use new-style lightdm.conf.d file, and don't set autologin-in-background until we can have a real greeter in Touch
11 years ago
Michael Terry
1edf737239
Merge from trunk
11 years ago
Colin Watson
976cbb1594
Revert to always using archive-team.internal in 60-install-click.chroot
...
for now. This is unfortunate, but "hostname --fqdn" doesn't work at
this stage.
11 years ago
Colin Watson
00192887a2
Make 60-install-click.chroot more verbose, in an attempt to figure out
...
why this doesn't work in the datacentre.
11 years ago
Colin Watson
1c5ea38beb
Fix test for whether we're running in the Canonical datacentre when
...
installing click packages.
11 years ago
Colin Watson
741ff8d8d1
Log the hostname at the start of the build.
11 years ago
Colin Watson
805633bc05
Download core click packages from the right place when building images
...
outside the Canonical datacentre.
11 years ago
Colin Watson
d083723d88
Use new multiple-database scheme in click 0.4.3 to preinstall click
...
packages.
11 years ago
Oliver Grawert
07406f5e8e
change NM mangling from admin to sudo group, drop some extra env variables we dont need from touch images
12 years ago
Oliver Grawert
1dc58ddbe5
fix autopilot group handling on touch images
12 years ago
Sergio Schvezov
2978a1e0dd
Copying click packages to install search location instead of installing
...
for a hardcoded user.
12 years ago
Oliver Grawert
39986bad6c
do not forcefully use the admin group on touch images. this group was dropped in favour of the sudo group several releases ago
12 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
d98eb03afb
make sure the bluetooth group has the right android GID on touch builds
12 years ago
Michael Terry
3c012df85d
Drop defined user/greeter sessions, that gets set in the respective packages
12 years ago
Michael Terry
3e6067b0ca
Merge from trunk
12 years ago
Michael Terry
131add046d
Add user to nopasswdlogin group too
12 years ago
Michael Terry
59117feb80
Switch min uid to 1002
12 years ago
Michael Terry
e6cd959f4c
Mark the 'system' uid 1000 user as a system user, to avoid it showing up in the greeter
12 years ago
Sergio Schvezov
ef61ca2511
Reenabling click package installation hook.
12 years ago
Michael Terry
eecdfa8884
Merge from trunk
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
6ee060fae7
drop unity-next PPA from ubuntu-touch builds, unity8 is in the archive now
12 years ago
Michael Terry
1847abe879
Merge from trunk
12 years ago
Oliver Grawert
47d569d8bc
make sure FLASH_KERNEL_SKIP is set when we post-process touch images
12 years ago
Oliver Grawert
912941411b
add radio user (with UID 1001 (required by android)) to the default user creation for ubuntu-touch
12 years ago
Colin Watson
f030ef8902
Temporarily disable Click package installation, until desktop/AppArmor
...
integration has landed properly.
12 years ago
Oliver Grawert
4b814f4e7b
point click package install to http://archive-team.internal/click_packages
12 years ago
Sergio Schvezov
c0224c1e4f
Updating from trunk and reversioning the changelog
12 years ago
Sergio Schvezov
bccea77b73
Register phablet user for click installs
12 years ago
Oliver Grawert
46f91565ea
drop bashrc mangling from ubuntu-touch builds
12 years ago
Sergio Schvezov
6b17e866e4
Switching to wget and depending on it being installed by the seed
12 years ago
Sergio Schvezov
26cee7d1a5
quoting vars
12 years ago
Sergio Schvezov
25df11b2a2
remove usage of tmpdir
12 years ago
Sergio Schvezov
e899fa2c5a
Set -e independently.
12 years ago
Iain Lane
a80bcd80d6
Do the same trick as in 2.158 for kubuntu armhf+omap4 too.
12 years ago
Sergio Schvezov
5c03a4f1d0
Ubuntu Touch click package install hook.
12 years ago
Oliver Grawert
7193655900
source dbus-session from a different place in touch images
12 years ago
Iain Lane
e0fda22c01
Collapse case statement into one for $ARCH+$SUBARCH since it only checks for armhf+omap4
12 years ago
Iain Lane
bfde7e4938
Missing 'install'
12 years ago
Iain Lane
725d1c6ca3
On armhf+omap4, stop using the ubuntu-desktop task and use the metapackage instead
...
The task pulls in the X stack which the metapackage does not. We can take
advantage of this to install the omap-revert X stack that's needed for these
images.
12 years ago
Michael Terry
a72a91167a
use unity8-greeter instead of qml-phone-greeter
12 years ago
Michael Terry
04bbedae60
Merge from trunk
12 years ago
Oliver Grawert
93fb97a202
add the xserver omap-revert packages to panda builds
12 years ago
Oliver Grawert
6ff0b8e618
fix buildstamp creation for ubuntu-touch
12 years ago
Oliver Grawert
557de06383
try to hand the exported $NOW over from live-build/auto/config as $BUILDSTAMP
12 years ago
Sergio Schvezov
97a518d676
Switching to using the maliit plugin provided by maliit-framework.
12 years ago
Sergio Schvezov
6ae17f7a26
Adding ppa:ubuntu-unity/next for Touch.
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
6175652e6b
set QT_SELECT=qt5 in touch image environment
12 years ago
Oliver Grawert
63c44a6ab8
drop daily-build-next PPA from touch images
12 years ago
Colin Watson
d3f766d5da
live-build/ubuntu-touch/hooks/02-add_user_to_groups.chroot: Fix
...
detection of existing groups not to misfire if there is an existing
group with the desired group name as a prefix.
12 years ago
Colin Watson
699ed3f6a1
live-build/ubuntu-touch/hooks/02-add_user_to_groups.chroot: Delete
...
redundant code to create global static groups, which are already created
more correctly by base-passwd on every Ubuntu system.
12 years ago
Oliver Grawert
be72ae0321
sync ubuntu-touch customzation scripts with phablet build tree
12 years ago
Michael Terry
af86d611c5
Add default lightdm setup and make sure that system user is not shown by bumping system UID_MIN
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
d7ec3fcc95
remove ubuntu-touch/hooks/49-setup-demo-assets.chroot
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
Oliver Grawert
34ab86114e
remove qt5-proper PPA from ubuntu touch builds
12 years ago
Oliver Grawert
6f9e6a7c2b
drop online-accounts-qt5-staging PPA from ubuntu-touch images
12 years ago
Oliver Grawert
a3f3cdd531
drop hardcoded packagelists for ubuntu-touch
12 years ago
Oliver Grawert
c69174945c
drop setting manual options for getting an ubuntu-touch preinstalled tarball, we set -f plain in cdimage to get proper configuration already
12 years ago
Colin Watson
af1c3724e7
Copy binary-tar.tar.gz to $PREFIX.rootfs.tar.gz if it exists.
12 years ago
Colin Watson
902d0c9338
Revert squashfs change for ubuntu-touch; it may come in handy after all, since it's smaller.
12 years ago
Colin Watson
307dc8a8d5
Disable zsync for ubuntu-touch images.
12 years ago
Colin Watson
0d6b6f5113
Don't build a squashfs for ubuntu-touch images.
12 years ago
Colin Watson
73a02f22f0
Use gzip compression for ubuntu-touch tarballs.
12 years ago
Colin Watson
361c7f03dc
Don't include lupin-casper in ubuntu-touch images.
12 years ago
Colin Watson
dc5e9931d0
Install metapackages rather than tasks for ubuntu-touch, since it still
...
relies on PPAs and those don't have tasks.
12 years ago
Oliver Grawert
e9b902d453
drop super-friends and ubuntu-sdk PPAs from touch builds
12 years ago
Colin Watson
95246a6553
live-build/auto/config, live-build/ubuntu-touch: Copy a huge pile of
...
customisation by Ricardo Salveti from
lp:~phablet-team/touch-preview-images/ubuntu-build-phablet, which should
be close to enough for the architecture-independent parts of
ubuntu-touch builds.
12 years ago
Colin Watson
ee1909ade6
live-build/auto/config: Add basic ubuntu-touch enablement (based on
...
patch from Oliver Grawert, for which thanks).
12 years ago
Colin Watson
464cdd3e4c
live-build/auto/config: Run the ubuntukylin-default-settings chroot
...
hook.
12 years ago
Colin Watson
f21a32bcaf
Revert changes in 2.113. This needs to be done in cdimage/debian-cd
...
instead.
12 years ago
Colin Watson
2140c6cce9
live-build/auto/config: Set gfxboot default language to zh_CN for
...
UbuntuKylin.
12 years ago
Jeremy Bicha
9443070b24
live-build/auto/config: Add ubuntu-gnome project (LP: #1152818 )
12 years ago
Colin Watson
69aa7ac1bf
BuildLiveCD, live-build/auto/config: Add ubuntukylin as a valid project
...
(LP: #1152812 ).
12 years ago
cjwatson@chiark.greenend.org.uk
430f9da9c0
live-build/auto/config: Drop ubuntustudio-audio-plugins task.
12 years ago
Micah Gersten
36bcb835bd
* Drop ubuntustudio-generation and ubuntustudio-recording tasks and add
...
ubuntustudio-audio task to reflect Ubuntu Studio seed restructuring
- update live-build/auto/config
12 years ago
Adam Conrad
b660991a76
* Add abootimg explicitly to ac100 and nexus7 images, so it's marked
...
as manually installed and apt doesn't autoremove it (LP: #1041290 )
* Remove linux-firmware-nexus7 from the install list, it gets pulled
in automatically by linux-image-nexus7, so this is redundant.
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
ecc7ef9605
re-enable the slideshow for preinstalled images again
12 years ago
Oliver Grawert
b59e8a152b
preseed autologin in the nexus7 tarball, use ubuntu-defaults-nexus7 package in the nexus7 images
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
d7689c69a0
clean up the userdata dir
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
6a7fcb5055
use the binary, not the source package for tegra3 drivers
12 years ago
Oliver Grawert
de7911fa65
add linux-firmware-nexus7 and nvidia-graphics-drivers-tegra3 to nexus7 builds, preseed the license popup of linux-firmware-nexus7
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
Oliver Grawert
36fc3cb384
disable all slideshows on al preinstalled images, due to (LP: #1066046 )
12 years ago
Oliver Grawert
9bc128e750
make sure preinstalled ac100 images have multiverse enabled in their sources.list
12 years ago
Colin Watson
66feb5ff5d
merge 2.89
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
Oliver Grawert
0b0f155d51
fix lubuntu and xubuntu preinstalled handling so we end up with the
...
right slideshows in oem-config
12 years ago
Micah Gersten
e5ca13d310
live-build/auto/config: Add photography and publishing metas for
...
Ubuntu Studio (LP: #1057816 )
12 years ago
Colin Watson
2b10b49367
live-build/auto/config: Build ubuntu-server and ubuntu-core with
...
--initramfs=none, since we don't need casper in those images.
12 years ago
Colin Watson
5d0e98c400
Reorganise code to avoid kernel installation on
...
ubuntu-server/ubuntu-core so that it works for all architectures.
12 years ago
Colin Watson
0b17d32c1d
live-build/auto/config: Set KERNEL_FLAVOURS=none for ubuntu-server as
...
well, so that live-build/auto/build doesn't try to copy out kernel
images.
12 years ago
Stéphane Graber
b2d347a5c0
releasing version 2.84
12 years ago
Colin Watson
243d78495f
live-build/auto/config: Remove standard and server tasks from
...
ubuntu-server squashfs, and build it with no kernel packages so that
they can be added more correctly later by the installer (LP: #1028453 ).
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.
13 years ago
Colin Watson
81a4041038
merge 2.80
13 years ago
Colin Watson
975e6c5e02
live-build/auto/config: Disable zsync for BINARYFORMAT=iso*|usb* builds.
13 years ago
Oliver Grawert
be74dd411c
add pvr-omap4 driver to omap4 image builds for everything but
...
ubuntu-server, ubuntu-core and base images so we have GLES working
out of the box on them
13 years ago
Oliver Grawert
bbc84ce8f8
disable --architectures, it breaks on armel livefs builders trying to build armhf targets
13 years ago
Oliver Grawert
1eeb238b21
revert the last change, i was not aware that unity-2d was also ripped out of the archive and not only removed from the seeds
13 years ago
Oliver Grawert
8a4c7562e2
add unity-2d to ac100 images
13 years ago
Colin Watson
80c59a14fa
Attempt to restrict task installation to the native architecture.
13 years ago
Colin Watson
31d3235a6e
Pass --architectures to 'lb config', to make it easier to build images
...
for a different architecture.
13 years ago
Colin Watson
1a62c181f0
live-build/auto/config: Fix installation of ubuntu-server fstab removal
...
hook.
13 years ago
Colin Watson
dc1ab10bb4
live-build/auto/config: Don't try to install an empty task name when
...
building an image without a live task.
13 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
3de85abe65
* Add u-boot-tools to the installed set for all u-boot ARM images
...
* Remove ti-omap4-ppa from the omap4 images; it's no longer used
13 years ago
Colin Watson
36cf7b73da
Install a hook to remove /etc/fstab rather than building ubuntu-server
...
with --debian-installer=live; the latter has unwanted side-effects.
13 years ago
Colin Watson
81749fc06b
live-build/auto/config: Build ubuntu-server with
...
--debian-installer=live.
13 years ago
Colin Watson
66fa0b385d
live-build/auto/config: Don't purge .pyc files on ubuntu-server images.
13 years ago
Colin Watson
2f81027260
live-build/auto/config: Don't install lupin-casper on ubuntu-server
...
images.
13 years ago
Colin Watson
dc8a6db099
live-build/auto/config: Add server task to ubuntu-server images.
13 years ago
Colin Watson
483984e7b8
live-build/auto/config: Emit sources.list entries for -proposed if the
...
environment variable PROPOSED is set (LP: #1019514 ).
13 years ago
Adam Conrad
f0220ebc5c
Switch i386 ubuntustudio to linux-lowlatency flavor (LP: #1018075 )
13 years ago
Colin Watson
8237b75b1f
merge lp:~jr/livecd-rootfs/kubuntu-quantal
13 years ago
Jonathan Riddell
2cdb77f62a
build kubuntu from universe
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
21dd632813
Add minimal and standard tasks to Ubuntu Studio images (LP: #962585 ).
13 years ago
Adam Conrad
2a48564097
Add the ubiquity slideshow back to PREINSTALLED images
13 years ago
Colin Watson
0a1f08abfb
On Lubuntu and Xubuntu, only use the generic kernel on amd64 and i386.
13 years ago
Colin Watson
9ebf586484
merge lp:~gilir/livecd-rootfs/lubuntu-non-pae
13 years ago
Colin Watson
209b5d36c8
Use lowlatency for Ubuntu Studio amd64, since lowlatency-pae is
...
i386-specific (LP: #959011 ).
13 years ago
Julien Lavergne
b0e90c34cc
Use generic (non-PAE) kernel for Lubuntu (LP: #958866 ).
13 years ago
Colin Watson
3faaed4d65
Use generic (non-PAE) kernel for Xubuntu (LP: #955009 ).
13 years ago
Colin Watson
4bb8ff87a8
Switch Ubuntu Studio to lowlatency-pae kernel rather than lowlatency
...
(LP: #956250 ).
13 years ago
Colin Watson
99c9a18ec9
Use lowlatency kernel for Ubuntu Studio (LP: #956250 ).
13 years ago
Adam Conrad
2154303cdf
Move ac100-tarball-installer from install to live
13 years ago
Jonathan Riddell
ca17c0aa97
replace kubuntu-mobile with kubuntu-active
13 years ago
Colin Watson
a4b9d90547
Build Lubuntu with --no-install-recommends, to match its seed structure
...
(LP: #918401 ).
13 years ago
Adam Conrad
6e8f8ed1bb
x-loader cleanup and ac100/zram addition
13 years ago
Colin Watson
4f3561553f
live-build/auto/config: Fix ubuntustudio-dvd task selection.
13 years ago
Colin Watson
de480b4182
live-build/auto/config: Fix support for ubuntustudio-dvd project.
13 years ago
Colin Watson
4a791e1ce1
Add Ubuntu Studio support.
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
ba06389da7
Fix sense of live/preinstalled change in 2.46; add the live task for
...
non-preinstalled images, rather than only for preinstalled images.
13 years ago
Oliver Grawert
25f8bd4b60
put ti-omap4-ppa into omap4 images
13 years ago
Adam Conrad
91ed063783
Stop adding LIVE_TASK for PREINSTALLED
13 years ago
Adam Conrad
ad021ffc9d
armhf support and add -A to BuildLiveCD
13 years ago
Adam Conrad
cba9538e00
explicit ubiquity frontend selection
13 years ago
Adam Conrad
2b0be84a60
re-enable swap on jasper images
13 years ago
Adam Conrad
7ba25854b4
Fix oem-config-remove on ac100
13 years ago
Adam Conrad
be43abb06f
Explicitely select the oem-config frontend to install on a per-project basis
13 years ago
Evan Dandrea
bd5c64f842
Add main, restricted, universe, and multiverse to the sources.list
...
for Wubi disk images.
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
Jani Monoses
1824be870d
Set KERNEL_FLAVOURS for mx5.
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
Jani Monoses
f8ec10b65a
Fix kernel package name for mx5.
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
Colin Watson
6b7535e7ed
Switch ubuntu-dvd to ubuntu-usb and ubuntu-usb-live tasks.
14 years ago
Oliver Grawert
b6b65b0ff0
fix typo in abootimg call
14 years ago
Oliver Grawert
9a79132a0d
make sure flash-kernel is not executed during build, this setting was not transitioned from livecd.sh yet
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
Oliver Grawert
70d233196e
fix typo
14 years ago
Oliver Grawert
457995bc68
ajdust ac100 package list, (temporary ?) suppress preinstall-pool on ac100 since it fails the build
14 years ago
Jani Monoses
d566df11b9
Add mx5 subarch support for Freescale i.MX53
14 years ago
Adam Conrad
378d7b5e24
Switch a hardcoded "boot" to "$INITFS" in auto/build
14 years ago
Oliver Grawert
6ff8bfb69f
make sure ac100 images have universe enabled since the kernel lives there
14 years ago
Oliver Grawert
9a7130f307
add support for armel+ac100
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
6cc16c830e
dirty hack to make clean work with no default kernels, release 2.18
14 years ago
Adam Conrad
33db4c5420
Only set KERNEL_FLAVOURS to SUBARCH if SUBARCH is already set
14 years ago
Adam Conrad
82fe7a1d0e
ubuntu-core, plain FS support, and minor fixes
14 years ago
Colin Watson
b48b152420
Support generating different binary image types using
...
BINARYFORMAT=iso-hybrid and so on (although this won't actually work
until we create a syslinux-themes-ubuntu package).
14 years ago
Colin Watson
2b452c428e
* Handle package/task list changes in live-build 3.0~a22-1.
...
* Handle local sources.list changes in live-build 3.0~a22-1.
14 years ago
Evan Dandrea
c9ef6812ae
Add missing commits.
14 years ago
Colin Watson
99232ea1f1
Re-enable deb-src lines for Edubuntu (LP: #806428 ).
14 years ago
Adam Conrad
f725b7c13c
Update 0c3.net mirror matching silliness to reflect the new world order
14 years ago
Adam Conrad
706521f27d
s/headless/server/ and future-proofing ext4 use for preinstalled
14 years ago
Colin Watson
fbf929fe5c
Use all_chroot_pyc-purge.sh hook from live-build 3.0~a21-1ubuntu4.
14 years ago
Colin Watson
fbd336e164
Install xubuntu-live for xubuntu, not edubuntu-live (LP: #800211 ).
14 years ago
Colin Watson
2248b8b319
Handle local sources.list changes in live-build 3.0~a22-1.
14 years ago
Colin Watson
bfe9390724
Handle package/task list changes in live-build 3.0~a22-1.
14 years ago
Colin Watson
ed52d04be5
'--initramfs none' produces *.packages* outputs rather than *.manifest*;
...
handle this.
14 years ago
Colin Watson
cf4aaa47ce
Set --chroot-filesystem option if IMAGEFORMAT is ext2 or ext3.
14 years ago
Colin Watson
65d456a436
Add Lubuntu support.
14 years ago
Colin Watson
c96aa15cea
Remove old config directory before creating a new configuration.
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
5c06f0c3bd
Pass --linux-flavours to lb config if necessary.
14 years ago
Colin Watson
d6f42085fc
Switch from --binary-remove-linux to config/binary_rootfs/excludes.
14 years ago
Colin Watson
b31062605d
build LTSP chroot on edubuntu-dvd/i386
14 years ago
Colin Watson
29e4d6c6d3
avoid some unnecessary work in lb_binary
14 years ago
Colin Watson
97f056d3b6
link output files to BuildLiveCD-compatible locations
14 years ago
Colin Watson
15e23d2de5
make it easier to use a custom mirror
14 years ago
Colin Watson
98495f7da0
flash-kernel now handled in live-build
14 years ago
Colin Watson
044c08ce0f
--package-lists none (we use task lists instead)
14 years ago
Colin Watson
b1754e4352
fix package/task list paths
14 years ago
Colin Watson
173f96fd68
remove stale TODO
14 years ago
Colin Watson
e4389e439f
update for changes in live-build 3.0~a20-1
14 years ago
Colin Watson
944188fa4d
--packages is being removed, so create a local package list instead
14 years ago
Colin Watson
d903b8b9af
start live-build configuration
14 years ago