Merge lp:~louis/ubuntu/trusty/cloud-initramfs-tools/fix-trusty-ftbs into lp:ubuntu/trusty/cloud-initramfs-tools

Proposed by Louis Bouchard
Status: Merged
Merged at revision: 23
Proposed branch: lp:~louis/ubuntu/trusty/cloud-initramfs-tools/fix-trusty-ftbs
Merge into: lp:ubuntu/trusty/cloud-initramfs-tools
Diff against target: 66 lines (+31/-2)
4 files modified
Makefile (+8/-2)
debian/changelog (+18/-0)
debian/overlayroot.install (+1/-0)
overlayroot/etc/update-motd.d/97-overlayroot (+4/-0)
To merge this branch: bzr merge lp:~louis/ubuntu/trusty/cloud-initramfs-tools/fix-trusty-ftbs
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+199958@code.launchpad.net

Description of the change

Fix Makefile to take into account new overlayroot/etc/update-motd.d added in previous commit that will fix FTBS on trusty-proposed

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Makefile'
--- Makefile 2013-08-27 16:48:53 +0000
+++ Makefile 2013-12-23 15:16:12 +0000
@@ -20,8 +20,14 @@
20 done; done20 done; done
21 set -e; for d in $(MODULES); do \21 set -e; for d in $(MODULES); do \
22 [ -d "$$d/etc" ] || continue ; \22 [ -d "$$d/etc" ] || continue ; \
23 install -m 644 "$$d/etc"/* "$(DESTDIR)/etc" ; \23 for f in $$d/etc/*; do \
24 done24 if [ -d "$$f" ];then \
25 install -m 755 -d "$(DESTDIR)/etc/$${f##*/}" ; \
26 install "$$f"/* "$(DESTDIR)/etc/$${f##*/}" ; \
27 continue ; \
28 fi ;\
29 install -m 644 -t "$(DESTDIR)/etc" "$$f" ;\
30 done; done
25 set -e; for d in $(MODULES); do \31 set -e; for d in $(MODULES); do \
26 [ -d "$$d/tools" ] || continue ; \32 [ -d "$$d/tools" ] || continue ; \
27 mkdir -p "$(ULIB_PRE)$$d/" && \33 mkdir -p "$(ULIB_PRE)$$d/" && \
2834
=== modified file 'debian/changelog'
--- debian/changelog 2013-08-27 16:48:53 +0000
+++ debian/changelog 2013-12-23 15:16:12 +0000
@@ -1,3 +1,21 @@
1cloud-initramfs-tools (0.21ubuntu2) UNRELEASED; urgency=low
2
3 * Fix Makefile to avoid FTBS caused by subdir in overlayroot/etc
4 Makefile now takes into account when subdirectories are present in
5 the overlayroot directory.
6
7 -- Louis Bouchard <louis.bouchard@ubuntu.com> Thu, 19 Dec 2013 16:09:38 +0100
8
9cloud-initramfs-tools (0.21ubuntu1) trusty; urgency=low
10
11 * === added directory overlayroot/etc/update-motd.d,
12 debian/overlayroot.install, overlayroot/etc/update-motd.d/97-
13 overlayroot:
14 - add an update-motd message, when booted in an overlayroot
15 environment
16
17 -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 15 Nov 2013 12:05:58 -0600
18
1cloud-initramfs-tools (0.20ubuntu1) saucy; urgency=low19cloud-initramfs-tools (0.20ubuntu1) saucy; urgency=low
220
3 * debian/control: depend on cloud-utils or cloud-guest-utils.21 * debian/control: depend on cloud-utils or cloud-guest-utils.
422
=== modified file 'debian/overlayroot.install'
--- debian/overlayroot.install 2012-07-23 09:38:46 +0000
+++ debian/overlayroot.install 2013-12-23 15:16:12 +0000
@@ -1,4 +1,5 @@
1etc/overlayroot.conf1etc/overlayroot.conf
2etc/update-motd.d
2usr/sbin/overlayroot-chroot3usr/sbin/overlayroot-chroot
3usr/share/initramfs-tools/hooks/overlayroot4usr/share/initramfs-tools/hooks/overlayroot
4usr/share/initramfs-tools/scripts/*/overlayroot5usr/share/initramfs-tools/scripts/*/overlayroot
56
=== added directory 'overlayroot/etc/update-motd.d'
=== added file 'overlayroot/etc/update-motd.d/97-overlayroot'
--- overlayroot/etc/update-motd.d/97-overlayroot 1970-01-01 00:00:00 +0000
+++ overlayroot/etc/update-motd.d/97-overlayroot 2013-12-23 15:16:12 +0000
@@ -0,0 +1,4 @@
1#!/bin/sh
2
3(egrep "overlayroot|/media/root-ro|/media/root-rw" /proc/mounts 2>/dev/null | sort -r) || true
4echo

Subscribers

People subscribed via source and target branches