Oliver Grawert
572da9cdec
fix another quoting issue in snappy
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
Michael Vogt
bec5e3ea81
rename clickpkg -> snappypkg
10 years ago
Sergio Schvezov
6c641f01d2
[ Sergio Schvezov ]
...
removing debian packaging artifacts from the image
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
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
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
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
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
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
Adam Conrad
34e34e46c5
Fix snappy motd to not reference 'development', which isn't always true.
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
df931c05f7
fix device.tar.gz generation for snappy
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
Michael Vogt
4e89d09ba2
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
...
- remove libpython2.7 and friends as welll
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
Michael Vogt
685606051e
do not leave some packages in ^rc state on snappy/ubuntu-core
...
(LP: #1428115 ). Thanks to Daniel Holbach
10 years ago
Sergio Schvezov
d17765176b
Initial implementation of device tarball
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
Michael Vogt
f987c6f3d4
add more verbose output to
...
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
(thanks Oliver!)
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
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
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
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
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
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
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
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
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
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
1d9ee67e4e
merge fixes from the ubuntu-system-image PPA
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
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
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
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
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
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
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