Daniel Watkins
fe81277a0f
Continue producing non-UEFI images on non-UEFI arches
9 years ago
Daniel Watkins
0a8a704b0b
Remove '-disk1' from bootable image names.
9 years ago
Daniel Watkins
1fd54c49ee
* Consolidate cloud images
...
- Remove .tar.gz and .tar.xz (removed in favour of the squashfs).
- Remove the MBR-only disk image in favour of the shared GPT/MBR UEFI
image.
9 years ago
Michael Vogt
698283d1c4
rename var/lib/snapd/classic->var/lib/snapd/hostfs
9 years ago
Steve Langasek
6c5dc72d80
Merge lp:~daniel-thewatkins/livecd-rootfs/enable-backports
9 years ago
Michael Vogt
460d363b84
fix corename
9 years ago
Michael Vogt
45dd439f68
add var/lib/snapd/classic in ubuntu-core
9 years ago
Daniel Watkins
8940890039
Remove some trailing spaces
9 years ago
Daniel Watkins
79cf11a25a
Use the correct (pre-xenial) universe sources.list comment
9 years ago
Daniel Watkins
407cd3b812
Replace sources.list generated using COMPONENTS with the sources.list from
...
an Ubuntu Server installation (i.e. with all components enabled, and all
deb-src lines commented).
9 years ago
Łukasz 'sil2100' Zemczak
f83f033060
Update post-debootstrap hashes for ubuntu-touch.
9 years ago
Oliver Grawert
e9c7cee3de
revert the renaming from ubuntu-core to core for the os snap until snapd is ready for this
9 years ago
Oliver Grawert
0ffbd3a7cc
drop "execution" from os snap description
9 years ago
Oliver Grawert
2db1eb2155
rename the ubuntu-core snap to simply be "core"
9 years ago
Adam Conrad
8cd6c20291
Move touch resolution hints to a HINTS variable, and adjust for use
...
on dual-stack gl/gles arches where things don't quite work right.
9 years ago
Adam Conrad
1463239cb2
Stop explicitly removing systemd-sysv for touch.
9 years ago
Oliver Grawert
b38412b4ed
adjust motd message on snappy
9 years ago
Daniel Watkins
e690e4bdf7
[CPC] Don't overwrite the default sources.list
...
We've received a request not to do so (LP: #1513529 ) and cloud-init applies it
(or something similar to it) at boot anyway, so the list we're putting in place
isn't generally used.
9 years ago
Michael Vogt
863c46941a
rename com.canonical.UrlLauncher -> com.canonical.SafeLauncher
9 years ago
Michael Vogt
8a5032e26e
live-build/ubuntu-core/hooks/500-create-xdg-wrapper: rename to com.canonical.UrlLauncher
9 years ago
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
9 years ago
Michael Vogt
d436f951c3
system-image: add /usr/local/bin/xdg-open dbus helper
9 years ago
Michael Vogt
d617d8f840
update kernel snap building to match the new kernel policy
9 years ago
Steve Langasek
baf4f47379
Drop special-casing of ubuntu-core:system-image in places, now that
...
ubuntu-core unambiguously refers to the snappy Ubuntu Core image.
9 years ago
Steve Langasek
8b79962b99
Rename old ubuntu-core tarballs to ubuntu-base to avoid confusion.
9 years ago
Łukasz 'sil2100' Zemczak
1a5f9bc338
Add the new dhcpd user introduced by latest archive changes.
9 years ago
Michael Vogt
15ed930293
add meta/kernel.yaml to the kernel snaps
9 years ago
Oliver Grawert
6bd3aaffc1
drop linux-firmware-raspi2 from snappy
9 years ago
Oliver Grawert
0b1c0642f7
add multiverse to sources.list for snappy kernel builds
9 years ago
Oliver Grawert
03f89315cc
add multiverse to sources.list for snappy kernel builds
9 years ago
Iain Lane
e5142015a3
Fix syntax error.
9 years ago
Oliver Grawert
8d145b4d43
move the snappy kernel builds to the correct linux-image-$arch and linux-firmware-$arch metapackages
9 years ago
Adam Conrad
4eae5fbf1d
Follow linux-firmware-raspi2 renaming in the archive for raspi2 images.
9 years ago
Łukasz 'sil2100' Zemczak
d136431dd5
Follow up on recent changes from the new network-manager packages and add the nm-openvpn user to touch. This should essentially fix the image build failures.
9 years ago
Łukasz 'sil2100' Zemczak
8fa28215c8
Update the passwd, shadow, group and gshadow bootstrap hashes for touch.
9 years ago
Daniel Watkins
2c27aab38c
Re-enable systemd predictable interface naming in cloud images
9 years ago
Daniel Watkins
6340e292d6
Don't configure the eth0 interface by default
...
In xenial, eth0 won't exist (as we've moved to systemd's predictable interface
naming), and even were it to exist, cloud-init would handle configuring it on
boot.
9 years ago
Adam Conrad
57c110d861
Transition from ubuntu-snappy to ubuntu-core-snapd-units and snapd.
9 years ago
Adam Conrad
dbcbcfaf7c
live-build/ubuntu-cpc/hooks/032-disk-image.binary: Install s390-tools
...
and sysconfig-hardware before we attempt to configure zipl.
9 years ago
Oliver Grawert
814311e826
snappy: make ppc64el and s390x os tarball builds work
9 years ago
Oliver Grawert
62b25a47f2
kill the snappy os build if the initramfs-tools-ubuntu-core package is not found
9 years ago
Oliver Grawert
e7723219a3
switch snappy package builds from "snappy build" to "snapcraft snap" (LP: #1557515 )
9 years ago
Oliver Grawert
4d25373897
live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot create a generic initrd inside the snappy os-snap
9 years ago
Adam Conrad
ec84072284
Merge powerpc fixes from Daniel Watkins
9 years ago
Daniel Watkins
2909aba4b5
Enable building of powerpc cloud images.
9 years ago
Adam Conrad
5ac47abce7
Remove obsolete pvr-omap4 special-casing to simplify configs.
9 years ago
Oliver Grawert
24d78ecf5f
fix cloud-init breaking snappy networking on boot (LP: #1563296 )
9 years ago
Xavi Garcia Mena
0fbe88364f
Changing upower configuration to use percentages and poweroff the device when the critical battery level has been reached
9 years ago
Oliver Grawert
16f26af920
make the /etc/mtab link relative in snappy (LP: #1547033 )
9 years ago
Oliver Grawert
66c472388c
move mtab link to point to /proc/self/mounts instead of /proc/mounts in snappy images
9 years ago
Oliver Grawert
60c9b694c4
adjust snap versions to only have one dash and use plus chars instead
9 years ago
Oliver Grawert
c5905d18b6
add link for wlan mac address in dragonboard kernel snaps, move dragonboard kernel snap to linux-snapdragon
9 years ago
Colin Watson
af517f422a
Follow rename of ubuntustudio-font-meta to ubuntustudio-fonts.
9 years ago
Oliver Grawert
753bd8acd0
remove grub-efi-arm64 to the arm64 OS snap as it breaks uboot
9 years ago
Oliver Grawert
eba875e96c
add support for dragonboard kernel snap
9 years ago
Łukasz 'sil2100' Zemczak
b6eae423cd
Move the new touch click apps (unav, dekko, calendar) to the custom tarball.
9 years ago
Adam Conrad
d77a731d63
Build raspi2 images with multiverse for firmware.
9 years ago
Michael Vogt
f94b5db6e3
add grub-efi-arm64 to the arm64 OS snap
9 years ago
Michael Vogt
5439a48096
add dpkg.list to assets of the kernel snap
9 years ago
Oliver Grawert
9a9e8685f9
add snap building for kernel snaps
9 years ago
Oliver Grawert
768445efda
adjust naming to something easier consumable for cdimage of os snap in snappy builds
9 years ago
Oliver Grawert
6d4209f62c
add .snap cration for ubuntu-core snappy rootfs builds
9 years ago
Łukasz 'sil2100' Zemczak
1865c71a24
Remove the manta device from the list of touchsubarches as we're not building its kernel anymore.
9 years ago
Łukasz 'sil2100' Zemczak
f7c5d2ac50
Update the debootstrap group and gshadow hashes for ubuntu-touch.
9 years ago
Ben Howard
f3d90d962f
live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for
...
Virtualbox only.
9 years ago
Dimitri John Ledkov
d570ecdcb8
Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which
...
is used outside of the livecd-rootfs build process (specifically for EC2
publication).
9 years ago
Ben Howard
eff40b8e5d
live-build/ubuntu-cpc/hooks/042-vagrant.binary: add serial device for
...
Vagrant images (LP: #1546108 ).
9 years ago
Daniel Watkins
6f6fb2834b
Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which
...
is used outside of the livecd-rootfs build process (specifically for EC2
publication).
9 years ago
Oliver Grawert
4bf82391aa
add /var/lib/systemd/rfkill to pre-created snappy dirs
9 years ago
Adam Conrad
cbbb38a364
Add net.ifnames=0 to the raspi2 cmdline injected into raspi2 builds.
9 years ago
Adam Conrad
8b77178bc5
live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot: Add fake_cloud_init
...
function to create a nocloud data source for cloud images that aren't
meant to be used on real clouds and use it by default on armhf+raspi2
9 years ago
Steve Langasek
1d428db1ab
Switch to passing the raspi2 boot options entirely via cmdline.txt to match the latest flash-kernel change
9 years ago
Steve Langasek
a545002b7c
Mark boot partitions as type vfat
9 years ago
Steve Langasek
b1099d2a64
Import live-build/ubuntu-cpc/hooks/raspi2/mkknlimg from
...
https://github.com/raspberrypi/linux/blob/rpi-4.1.y/scripts/mkknlimg
and use it to install a bootable uboot.bin.
9 years ago
Steve Langasek
65f74a021d
Drop gratuitous call to dpkg
9 years ago
Steve Langasek
a92bf11406
Initial support for raspi2 subarch.
9 years ago
Steve Langasek
246d45c839
And one more
9 years ago
Steve Langasek
c62743e5f4
...but if we're going to avoid using umount_partition, we need to actually unmount all the mountpoints mounted by setup_mountpoint
9 years ago
Steve Langasek
93314b5882
and the parent directory isn't a mountpoint, so roll back a change that also causes the script to fail. This still warrants refactoring, but let's refactor it in a way that actually works.
9 years ago
Steve Langasek
c53b727a79
But don't try to use the function without declaring the function...
9 years ago
Steve Langasek
7339cb09b3
Remove some code duplication
9 years ago
Steve Langasek
0b279f731b
Refactor ubuntu-cpc hooks to always produce a 'plain' rootfs via
...
live-build and reuse this for the tarball, instead of lb_binary_rootfs
creating some artifact that we ignore / throw away.
9 years ago
Dimitri John Ledkov
375554f157
* Chroot to execute zipl, because it's nice.
...
* Use the right loop device to install zipl onto.
9 years ago
Dimitri John Ledkov
8f825a91c9
* Correct initrd.img symlink, kernel/hooks should actually produce the
...
right thing here, but meh.
* Chroot to execute zipl, fails to boot otherwise.
9 years ago
Steve Langasek
6bd644f252
Revert change that adds a *sixth* argument to create_empty_partition; this can't possibly be the cause of whatever problem was being seen
9 years ago
Ben Howard
28c10e02db
ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix
...
(LP: 1543204).
9 years ago
Dimitri John Ledkov
21b502d78c
Do not remove linux-base, when purging all the linux-*, in the tarball
...
build. Otherwise ubuntu-minimal is removed, and things get crazy.
9 years ago
Ben Howard
ba1b657624
ubuntu-cpc: fix hooks/032-disk-image.binary call to
...
create_empty_partition, which requires five args due to "-u"
9 years ago
Steve Langasek
90fc765551
set -u damage
9 years ago
Steve Langasek
e51a8f8aef
Make sure we still mount the kernel filesystems in the disk setup
...
We skip the previous unmount/remount behavior because that makes things
unwieldly when there are multiple partitions; but we still have setup to do,
so that /dev is available for grub, etc.
9 years ago
Steve Langasek
eb9b43defe
Don't forget to mark our root partition bootable
9 years ago
Steve Langasek
e9d31ea96a
Fix some thinkos in the loop device name handling
9 years ago
Steve Langasek
4594c28c1f
More set -u damage
9 years ago
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
9 years ago
Steve Langasek
b9f96f5682
set -u is a hateful thing
9 years ago
Steve Langasek
0be484d35e
Add support for actually mounting the boot partition and copying contents to it
9 years ago
Steve Langasek
24b9feb58a
further refactoring of partition handling
9 years ago
Steve Langasek
6fce3b879d
-> in a few overlooked places
9 years ago
Steve Langasek
99cdaafd61
Refactor ubuntu-cpc hooks to allow us to handle images where the root
...
partition should not be partition 1.
9 years ago
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.
9 years ago