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