summaryrefslogtreecommitdiff
path: root/chunks/cloud-init.morph
blob: 3ea5e5547cb727cd3a66daa0b0946a866ab9802c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: cloud-init
kind: chunk
repo: upstream:cloud-init
ref: eeb4923b3528ebf4d93d8297b2d489738c3ea7c3
unpetrify-ref: baserock/morph
build-system: python-distutils
post-install-commands:
- mkdir -p "$DESTDIR"/lib/systemd/system
- cp systemd/* "$DESTDIR"/lib/systemd/system/
- mkdir -p "$DESTDIR"/etc/systemd/system/
- |
  for S in $(cd systemd; ls *.service); do
     ln -s /lib/systemd/system/$S "$DESTDIR"/etc/systemd/system/$S;
  done
- mkdir -p "$DESTDIR"/lib/systemd/system/multi-user.target.wants/
- |
  for S in $(cd systemd; ls *.service); do
     ln -s /lib/systemd/system/$S "$DESTDIR"/lib/systemd/system/multi-user.target.wants/$S;
  done