Merge lp:~sil2100/livecd-rootfs/deb-src_for_extra_ppas into lp:livecd-rootfs

Proposed by Łukasz Zemczak
Status: Merged
Merge reported by: Sebastien Bacher
Merged at revision: not available
Proposed branch: lp:~sil2100/livecd-rootfs/deb-src_for_extra_ppas
Merge into: lp:livecd-rootfs
Diff against target: 17 lines (+6/-1)
1 file modified
live-build/auto/config (+6/-1)
To merge this branch: bzr merge lp:~sil2100/livecd-rootfs/deb-src_for_extra_ppas
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
Review via email: mp+267375@code.launchpad.net

Commit message

In case of extra PPAs also include the deb-src entry in the sources list.

Description of the change

In case of extra PPAs also include the deb-src entry in the sources list.

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'live-build/auto/config'
2--- live-build/auto/config 2015-06-25 11:36:42 +0000
3+++ live-build/auto/config 2015-08-07 16:06:30 +0000
4@@ -687,7 +687,12 @@
5 ;;
6 esac
7 extra_ppa_fingerprint="$(/usr/share/livecd-rootfs/get-ppa-fingerprint "$extra_ppa")"
8- echo "deb http://ppa.launchpad.net/$extra_ppa/ubuntu @DISTRIBUTION@ main" >> config/archives/extra-ppas.list.chroot
9+
10+ cat >> config/archives/extra-ppas.list.chroot <<EOF
11+deb http://ppa.launchpad.net/$extra_ppa/ubuntu @DISTRIBUTION@ main
12+deb-src http://ppa.launchpad.net/$extra_ppa/ubuntu @DISTRIBUTION@ main
13+EOF
14+
15 if [ -n "$extra_ppa_pin" ]; then
16 extra_ppa_origin="LP-PPA-$(echo $extra_ppa | sed -e 's,/ppa$,,' -e 's,/,-,')"
17 echo "Package: *" >> config/archives/extra-ppas.pref.chroot

Subscribers

People subscribed via source and target branches