Merge lp:~rbalint/livecd-rootfs/fix-minimized-ppc64el-image-build into lp:livecd-rootfs

Proposed by Balint Reczey
Status: Merged
Merged at revision: 1559
Proposed branch: lp:~rbalint/livecd-rootfs/fix-minimized-ppc64el-image-build
Merge into: lp:livecd-rootfs
Diff against target: 91 lines (+21/-18)
4 files modified
debian/changelog (+9/-0)
debian/tests/minimized (+1/-9)
live-build/auto/config (+6/-9)
live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot (+5/-0)
To merge this branch: bzr merge lp:~rbalint/livecd-rootfs/fix-minimized-ppc64el-image-build
Reviewer Review Type Date Requested Status
Steve Langasek Pending
Review via email: mp+332068@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) :
1558. By Steve Langasek

releasing package livecd-rootfs version 2.472

Revision history for this message
Balint Reczey (rbalint) :
1559. By Balint Reczey

Clean up dangling /boot/initrd.img symlink when needed

1560. By Balint Reczey

Revert ignoring failure of minimized autopkgtest on ppc64el

1561. By Balint Reczey

Use kvm kernel only on amd64

1562. By Balint Reczey

Skip installing server task when building minimial images

1563. By Balint Reczey

Update changelog

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2017-10-10 22:41:05 +0000
+++ debian/changelog 2017-10-10 23:59:30 +0000
@@ -1,3 +1,12 @@
1livecd-rootfs (2.473) UNRELEASED; urgency=medium
2
3 * Clean up dangling /boot/initrd.img symlink when needed
4 * Revert ignoring failure of minimized autopkgtest on ppc64el
5 * Use kvm kernel only on amd64
6 * Skip installing server task when building minimial images
7
8 -- Balint Reczey <rbalint@ubuntu.com> Wed, 11 Oct 2017 01:58:39 +0200
9
1livecd-rootfs (2.472) artful; urgency=medium10livecd-rootfs (2.472) artful; urgency=medium
211
3 [ Michael Hudson-Doyle ]12 [ Michael Hudson-Doyle ]
413
=== modified file 'debian/tests/minimized'
--- debian/tests/minimized 2017-10-01 20:39:14 +0000
+++ debian/tests/minimized 2017-10-10 23:59:30 +0000
@@ -1,11 +1,3 @@
1#!/bin/sh1#!/bin/sh
22
3ARCH=$(dpkg --print-architecture)3env SELECTED_TRIPLETS=ubuntu-cpc:minimized:ubuntu-cpc debian/tests/default-bootstraps
4
5failure_code=1
6if [ "$ARCH" = ppc64el ]; then
7 # not a regression; don't block while debugging
8 failure_code=0
9fi
10
11env SELECTED_TRIPLETS=ubuntu-cpc:minimized:ubuntu-cpc debian/tests/default-bootstraps || exit $failure_code
124
=== modified file 'live-build/auto/config'
--- live-build/auto/config 2017-10-04 17:13:13 +0000
+++ live-build/auto/config 2017-10-10 23:59:30 +0000
@@ -540,7 +540,7 @@
540 # linux-kvm is available since you control the540 # linux-kvm is available since you control the
541 # archive and can provide this metapackage as541 # archive and can provide this metapackage as
542 # necessary.542 # necessary.
543 if [ -z "$EXTRA_PPAS" ] && [ "$SUITE" != xenial ]; then543 if [ "$ARCH" != "amd64" ] || ([ -z "$EXTRA_PPAS" ] && [ "$SUITE" != xenial ]); then
544 KERNEL_FLAVOURS=virtual544 KERNEL_FLAVOURS=virtual
545 else545 else
546 KERNEL_FLAVOURS=kvm546 KERNEL_FLAVOURS=kvm
@@ -549,6 +549,11 @@
549 add_task install minimal standard cloud-image549 add_task install minimal standard cloud-image
550 add_package install ubuntu-minimal550 add_package install ubuntu-minimal
551 KERNEL_FLAVOURS=virtual551 KERNEL_FLAVOURS=virtual
552 case $ARCH in
553 armhf|arm64|ppc64el|powerpc)
554 add_task install server
555 ;;
556 esac
552 fi557 fi
553558
554 BINARY_REMOVE_LINUX=false559 BINARY_REMOVE_LINUX=false
@@ -557,17 +562,9 @@
557 armhf)562 armhf)
558 KERNEL_FLAVOURS=generic-lpae563 KERNEL_FLAVOURS=generic-lpae
559 add_package install flash-kernel564 add_package install flash-kernel
560 add_task install server
561 ;;565 ;;
562 arm64)566 arm64)
563 add_package install flash-kernel567 add_package install flash-kernel
564 add_task install server
565 ;;
566 ppc64el)
567 add_task install server
568 ;;
569 powerpc)
570 add_task install server
571 ;;568 ;;
572 esac569 esac
573 OPTS="${OPTS:+$OPTS }--system=normal"570 OPTS="${OPTS:+$OPTS }--system=normal"
574571
=== modified file 'live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot'
--- live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot 2017-09-29 19:20:14 +0000
+++ live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot 2017-10-10 23:59:30 +0000
@@ -130,6 +130,11 @@
130 } > "${rootd}/etc/overlayroot.local.conf"130 } > "${rootd}/etc/overlayroot.local.conf"
131fi131fi
132132
133# previous steps may have left a dangling symlink here with
134# SUBPROJECT=minimized and that breaks lb_chroot_hacks step
135if [ -L "${rootd}/boot/initrd.img" ] && [ ! -e "${rootd}/boot/initrd.img" ]; then
136 rm "${rootd}/boot/initrd.img"
137fi
133138
134#### END COMMON ARCH FUNCTIONS139#### END COMMON ARCH FUNCTIONS
135140

Subscribers

People subscribed via source and target branches