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