Dimitri John Ledkov
33b7272a23
Perform fsck on all rootfs.
...
LP: #1912835
2021-02-01 14:45:42 +00:00
Dimitri John Ledkov
d7b629cae6
Do not force lzma on ubuntu-core builds, the compress format default should be set universally inside initramfs-tools-ubuntu-core package instead of getting duplicated multiple times all over the place.
2019-06-05 13:50:20 +01:00
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
2016-09-02 20:42:01 +02:00
Michael Vogt
5f9521d65f
do not create "ubuntu" user for ubuntu-core anymore, the
...
console-conf package will create this user now
2016-09-02 17:04:23 +02:00
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
2016-08-17 15:22:22 +02:00
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.
2016-08-17 12:11:13 +02:00
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.
2016-08-03 17:00:58 +02:00
Sebastien Bacher
da28a130be
update hook comment to match the content
2016-08-03 10:17:59 +02:00
Sebastien Bacher
377b075dcc
escape $1 variable in the xdg script where needed
2016-08-03 10:17:24 +02:00
Sebastien Bacher
2dd9d8a055
Correct some syntax errors in the ubuntu-core snap hooks
2016-08-03 10:16:25 +02:00
Michael Vogt
50f5c6cd18
fix 500-create-xdg-wrapper.binary and 700-classic-dir.binary extensions
2016-06-11 22:03:39 +02:00
Michael Vogt
698283d1c4
rename var/lib/snapd/classic->var/lib/snapd/hostfs
2016-06-09 11:35:20 +02:00
Michael Vogt
45dd439f68
add var/lib/snapd/classic in ubuntu-core
2016-06-08 19:13:58 +02:00
Oliver Grawert
b38412b4ed
adjust motd message on snappy
2016-05-25 14:30:39 +02:00
Michael Vogt
863c46941a
rename com.canonical.UrlLauncher -> com.canonical.SafeLauncher
2016-05-20 09:09:31 +02:00
Michael Vogt
8a5032e26e
live-build/ubuntu-core/hooks/500-create-xdg-wrapper: rename to com.canonical.UrlLauncher
2016-05-13 13:16:09 -07:00
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
2016-05-13 21:06:41 +02:00
Michael Vogt
d436f951c3
system-image: add /usr/local/bin/xdg-open dbus helper
2016-05-13 11:43:15 -07:00
Oliver Grawert
62b25a47f2
kill the snappy os build if the initramfs-tools-ubuntu-core package is not found
2016-04-10 17:27:32 +02:00
Oliver Grawert
4d25373897
live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot create a generic initrd inside the snappy os-snap
2016-04-07 18:57:07 +02:00
Oliver Grawert
24d78ecf5f
fix cloud-init breaking snappy networking on boot (LP: #1563296 )
2016-04-01 16:34:02 +02:00
Oliver Grawert
16f26af920
make the /etc/mtab link relative in snappy (LP: #1547033 )
2016-03-24 13:28:08 +01:00
Oliver Grawert
66c472388c
move mtab link to point to /proc/self/mounts instead of /proc/mounts in snappy images
2016-03-22 13:19:21 +01:00
Oliver Grawert
4bf82391aa
add /var/lib/systemd/rfkill to pre-created snappy dirs
2016-02-18 14:43:46 +01:00
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
2016-02-06 02:38:21 -08:00
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.
2016-02-05 23:39:56 -08:00
Michael Vogt
51a5cca323
* ubuntu-core:
...
- include the dpkg.list in the device tarball
- store /usr/share/snappy/dpkg.list manifest on the OS tarball
2016-01-28 18:27:36 +01:00
Michael Vogt
9a3b3d6280
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
...
- remove libicu52 hook
2016-01-08 22:51:54 +01:00
Łukasz 'sil2100' Zemczak
05f661be29
Fix earlier mistake of changing the wrong hashes.
2015-12-14 10:02:56 +01:00
Łukasz 'sil2100' Zemczak
bcfda67527
Update the passwd/shadow db hashes on ubuntu-touch builds
2015-12-14 09:45:06 +01:00
Oliver Grawert
1124ea4776
also add the new apt user to /etc/passwd in snappy
2015-12-11 17:35:38 +01:00
Oliver Grawert
499779097f
update /etc/shadow on snappy for new apt user
2015-12-11 12:06:03 +01:00
Oliver Grawert
ef219ff9ee
configure /etc/fw_env.config for all arm arches on snappy
2015-12-10 15:05:29 +01:00
Oliver Grawert
93f112e8e8
make sure the default group is still created when adding the default user to adm and sudo groups
2015-12-08 16:38:27 +01:00
Michael Vogt
fb84e38cf2
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
...
- add default ubuntu user to "adm" and "sudo" groups
2015-12-07 11:09:35 +01:00
Oliver Grawert
7ccc9cb706
fix input group on snappy
2015-11-13 12:53:12 +01:00
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
2015-11-10 12:30:27 +01:00
Oliver Grawert
b632fd0492
drop input group from snappy images, adjust md5 sums in live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
2015-11-09 12:54:30 +01:00
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
2015-11-04 08:46:50 +01:00
Oliver Grawert
81edee0431
fix handling of writable files in /etc/default for snappy
2015-10-29 13:02:16 +01:00
Oliver Grawert
952fa460d4
fix tss UID in snappy (landing can wait for xenial)
2015-10-22 11:36:49 +02:00
Oliver Grawert
0054a24f90
limit grub-install diversion on snappy images to x86 architectures
2015-10-09 12:54:00 +02:00
Oliver Grawert
cc7950e55c
divert grub-install on snappy images during rootfs build
2015-10-09 12:45:28 +02:00
Oliver Grawert
8d737ad1c9
add user/group fixes for snappy shipping tpm-tools
2015-09-30 11:24:48 +02:00
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
2015-09-09 13:30:45 +02:00
Oliver Grawert
20ccbbb944
releasing package livecd-rootfs version 2.340
2015-09-03 14:25:57 +02:00
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 )
2015-08-26 13:12:20 +02:00
Oliver Grawert
23341f3670
add dnsmasq user to snappy builds, needed by ubuntu-fan
2015-07-28 10:49:20 +02:00
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
2015-07-16 15:58:16 +02:00
Michael Vogt
4d2b68630d
its /etc/fw_env.config
2015-07-16 15:22:20 +02:00