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
Oliver Grawert
d04c2c068b
drop the default creation of SWAP.swap files for all preinstalled devices
11 years ago
Oliver Grawert
7e6b25ddf3
drop the initscripts hack again
11 years ago
Oliver Grawert
09573cf33c
make 70-reconfigure-autopilot.chroot hook executable
11 years ago
Oliver Grawert
17d7b3823b
add live-build/ubuntu-touch/hooks/85-hack-hack-hack-the-initscripts.chroot as a quick hack to get writability back on the phone images ... THIS IS TEMPORARY
11 years ago
Iain Lane
4150b7a896
Add ubuntu-sdk-libs too
11 years ago
Iain Lane
f41714bd5b
ubuntu-desktop-next: Use the Task fiels that the archive now has for this
...
project.
11 years ago
Colin Watson
4923df1abf
The EXTRA_ARCHIVES environment variable defined in 2.212 doesn't quite
...
work properly because it doesn't allow for signing key configuration.
Rename it to the more domain-specific EXTRA_PPAS (which is now a
space-separated sequence of <ppa-owner>/<ppa-name> pairs), and fetch
signing keys for those from Launchpad using python3-software-properties.
11 years ago
Colin Watson
c34a62ec3b
normalise whitespace
11 years ago
Colin Watson
83c397cf2e
live-build/auto/config: If EXTRA_ARCHIVES is set in the environment,
...
dump its value into config/archives/extra-archives.list.chroot and
config/archives/extra-archives.list.binary. This makes it easier for a
builder to build an image against an additional PPA.
11 years ago
Iain Lane
3ce6f0c289
Add an ubuntu-desktop-next project for building a desktop flavour
...
including Unity 8 and the applications developed for Ubuntu Touch.
11 years ago
Colin Watson
807ee32efc
live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot: Fix test
...
for whether a package is installed, and check for both python-autopilot
and python3-autopilot.
11 years ago
Iain Lane
23beed5123
Install the metapackage from the seed instead of just the session
...
nb: can't use the task as this isn't generated yet
11 years ago
Iain Lane
0ebe5e57b1
Add unity8 flavour
11 years ago
Colin Watson
34ea5156cf
live-build/auto/config: Pass any additional command-line arguments on to
...
"lb config".
11 years ago
Ricardo Salveti de Araujo
0fe1485ba8
Adding support for ubuntu-touch i386 based images
11 years ago
Ricardo Salveti de Araujo
fdf26caffd
touch/80-enable-libhybris.chroot: making libhybris the default alternatives
...
for EGL/GLESv2 on touch
11 years ago
Oliver Grawert
5602f1e926
dropping maguro and adding flo, changing golfish to generic in touchsubarches
11 years ago
Ricardo Salveti de Araujo
84262b6f94
touch/48-setup-env.chroot: QML2_IMPORT_PATH should respect
...
DEB_HOST_MULTIARCH (as we now have i386 builds as well)
11 years ago
Your Name
b646083ad7
Add hostname and machine-info to the writable paths, so that hostnamectl
...
can change them to create a sane default bluetooth device name.
11 years ago
Chris Wayne
4b74aba181
only touch /etc/writable/machine-info
11 years ago
Chris Wayne
a28790c6f9
Touch file if it doesnt exist
11 years ago
Chris Wayne
2cc7d04ffd
live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Add hostname to the list of writable files
11 years ago
Adam Conrad
2fa8a6f24e
Add the minimal task to ubuntu-core to preserve brand consistency.
11 years ago
Chris Wayne
03764235e8
live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Add /etc/machine-info to /etc/writable, which allows user to change the bluetooth device name by setting PRETTY_HOSTNAME
11 years ago