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