mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-24 03:41:11 +00:00
Imported 2.686
No reason for CPC update specified.
This commit is contained in:
parent
a7aede350a
commit
128aaa8bb3
11
debian/changelog
vendored
11
debian/changelog
vendored
@ -1,3 +1,14 @@
|
||||
livecd-rootfs (2.686) groovy; urgency=medium
|
||||
|
||||
[ Dan Streetman ]
|
||||
* use python3-launchpadlib directly instead of python3-software-properties
|
||||
|
||||
[ Steve Langasek ]
|
||||
* Restore the removal of fstab from squashfs images, now that cloud-init
|
||||
has been fixed (LP: #1877078; ref bug #1890803)
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Thu, 27 Aug 2020 08:53:31 -0700
|
||||
|
||||
livecd-rootfs (2.685) groovy; urgency=medium
|
||||
|
||||
* Revert 'ubuntu-cpc: Disable boot splash in all cloud images
|
||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -30,7 +30,7 @@ Depends: ${misc:Depends},
|
||||
procps,
|
||||
python3,
|
||||
python3-apt,
|
||||
python3-software-properties,
|
||||
python3-launchpadlib,
|
||||
python3-yaml,
|
||||
qemu-utils [!i386 !riscv64],
|
||||
rsync,
|
||||
|
@ -2,16 +2,14 @@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
from launchpadlib.launchpad import Launchpad
|
||||
from optparse import OptionParser
|
||||
|
||||
from softwareproperties import ppa
|
||||
|
||||
|
||||
parser = OptionParser(usage="%prog OWNER/NAME")
|
||||
_, args = parser.parse_args()
|
||||
if not args:
|
||||
parser.error("must provide a PPA owner/name")
|
||||
owner_name, ppa_name = args[0].split("/", 1)
|
||||
owner_name = "~%s" % owner_name
|
||||
ppa_info = ppa.get_ppa_info_from_lp(owner_name, ppa_name)
|
||||
print(ppa_info["signing_key_fingerprint"])
|
||||
lp = Launchpad.login_anonymously('livecd-rootfs')
|
||||
print(lp.people(owner_name).getPPAByName(name=ppa_name).signing_key_fingerprint)
|
||||
|
@ -35,6 +35,7 @@ mkdir -p config
|
||||
cp -af /usr/share/livecd-rootfs/live-build/functions config/functions
|
||||
cp -af /usr/share/livecd-rootfs/live-build/lb_*_layered config/
|
||||
cp -af /usr/share/livecd-rootfs/live-build/snap-seed-parse.py config/snap-seed-parse
|
||||
cp -af /usr/share/livecd-rootfs/live-build/squashfs-exclude-files config/
|
||||
|
||||
mkdir -p config/package-lists
|
||||
|
||||
|
@ -289,6 +289,17 @@ create_vmdk() {
|
||||
rm -rf ${scratch_d}
|
||||
}
|
||||
|
||||
create_squashfs() {
|
||||
local config_dir rootfs_dir squashfs_file
|
||||
rootfs_dir="$1"
|
||||
squashfs_file="$2"
|
||||
config_dir="$PWD/config"
|
||||
(cd $rootfs_dir &&
|
||||
mksquashfs . $squashfs_file -no-progress -xattrs -comp xz \
|
||||
-ef "$config_dir/squashfs-exclude-files")
|
||||
|
||||
}
|
||||
|
||||
create_derivative() {
|
||||
# arg1 is the disk type
|
||||
# arg2 is the new name
|
||||
|
1
live-build/squashfs-exclude-files
Normal file
1
live-build/squashfs-exclude-files
Normal file
@ -0,0 +1 @@
|
||||
etc/fstab
|
@ -8,14 +8,15 @@ if [ -n "$SUBARCH" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
. config/functions
|
||||
|
||||
# This is the directory created by create-root-dir.binary
|
||||
rootfs_dir=rootfs.dir
|
||||
|
||||
squashfs_f="$PWD/livecd.ubuntu-cpc.squashfs"
|
||||
|
||||
cp $rootfs_dir.manifest $squashfs_f.manifest
|
||||
cp $rootfs_dir.filelist $squashfs_f.filelist
|
||||
# fstab is omitted from the squashfs
|
||||
grep -v '^/etc/fstab$' $rootfs_dir.filelist >$squashfs_f.filelist
|
||||
|
||||
(cd $rootfs_dir &&
|
||||
mksquashfs . $squashfs_f \
|
||||
-no-progress -xattrs -comp xz )
|
||||
create_squashfs $rootfs_dir $squashfs_f
|
||||
|
@ -30,6 +30,4 @@ squashfs_f_manifest="${squashfs_f}.manifest"
|
||||
|
||||
create_manifest "binary/boot/squashfs.dir" "${squashfs_f_manifest}"
|
||||
|
||||
(cd "binary/boot/squashfs.dir/" &&
|
||||
mksquashfs . ${squashfs_f} \
|
||||
-no-progress -xattrs -comp xz )
|
||||
create_squashfs "binary/boot/squashfs.dir/" ${squashfs_f}
|
||||
|
@ -91,6 +91,4 @@ find $OVERLAY_ROOT/var/lib/snapd/ -name 'lxd_*.snap' -delete
|
||||
|
||||
squashfs_f="${PWD}/livecd.${PROJECT}.installer.squashfs"
|
||||
|
||||
(cd "$OVERLAY_ROOT/" &&
|
||||
mksquashfs . ${squashfs_f} \
|
||||
-no-progress -xattrs -comp xz )
|
||||
create_squashfs "$OVERLAY_ROOT/" ${squashfs_f}
|
||||
|
Loading…
x
Reference in New Issue
Block a user