[arch-commits] Commit in cloud-init/repos/community-any (4 files)
Date: Saturday, September 17, 2016 @ 23:33:34 Author: arojas Revision: 189886 archrelease: copy trunk to community-any Added: cloud-init/repos/community-any/PKGBUILD (from rev 189885, cloud-init/trunk/PKGBUILD) cloud-init/repos/community-any/archlinux.cloud.cfg (from rev 189885, cloud-init/trunk/archlinux.cloud.cfg) Deleted: cloud-init/repos/community-any/PKGBUILD cloud-init/repos/community-any/archlinux.cloud.cfg -+ PKGBUILD| 60 +++ archlinux.cloud.cfg | 94 +- 2 files changed, 77 insertions(+), 77 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-09-17 23:33:11 UTC (rev 189885) +++ PKGBUILD2016-09-17 23:33:34 UTC (rev 189886) @@ -1,30 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace - -pkgname=cloud-init -pkgver=0.7.7 -pkgrel=1 -pkgdesc="Cloud Bootstrapping Application" -arch=(any) -license=("GPL3") -url=https://launchpad.net/cloud-init -# cloud-init python lib requirements (according to Requires file): -depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer net-tools) -makedepends=('python2' 'python2-setuptools') -options=(!emptydirs) -# Archlinux specific cloud.cfg -source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz) -sha1sums=('6c075328b5acb54711293c667504dda0edf06eb3') -backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg) - -prepare(){ -find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/&2/' {} + -sed -i '1s/python$/&2/' $pkgname-$pkgver/tools/read* -sed -e 's:/etc/systemd:/usr/lib/systemd:g' -e 's:\"/lib\":\"/usr/lib\":g' -i $pkgname-$pkgver/setup.py -sed -i 's,name: ubuntu,name: archlinux,;s,gecos: Ubuntu,gecos: Archlinux,' $srcdir/$pkgname-$pkgver/config/cloud.cfg -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - python2 ./setup.py install --root=${pkgdir} --init-system systemd -} Copied: cloud-init/repos/community-any/PKGBUILD (from rev 189885, cloud-init/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-09-17 23:33:34 UTC (rev 189886) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Daniel Wallace + +pkgname=cloud-init +pkgver=0.7.8 +pkgrel=1 +pkgdesc="Cloud Bootstrapping Application" +arch=(any) +license=("GPL3") +url=https://launchpad.net/cloud-init +# cloud-init python lib requirements (according to Requires file): +depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer net-tools) +makedepends=('python2' 'python2-setuptools') +options=(!emptydirs) +# Archlinux specific cloud.cfg +source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz) +sha1sums=('bcc313ff188457e5a34a6643effb3583e5bd624c') +backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg) + +prepare(){ +find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/&2/' {} + +sed -i '1s/python$/&2/' $pkgname-$pkgver/tools/read* +sed -e 's:/etc/systemd:/usr/lib/systemd:g' -e 's:\"/lib\":\"/usr/lib\":g' -i $pkgname-$pkgver/setup.py +sed -i 's,name: ubuntu,name: archlinux,;s,gecos: Ubuntu,gecos: Archlinux,' $srcdir/$pkgname-$pkgver/config/cloud.cfg +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + python2 ./setup.py install --root=${pkgdir} --init-system systemd +} Deleted: archlinux.cloud.cfg === --- archlinux.cloud.cfg 2016-09-17 23:33:11 UTC (rev 189885) +++ archlinux.cloud.cfg 2016-09-17 23:33:34 UTC (rev 189886) @@ -1,47 +0,0 @@ -## -### Archlinux cloud.cfg - This config enables Archlinux tested/compatible cloud-init modules. -## - -# Not using additional user / sudoers scheme. -disable_root: false -# Allow cloud-init to set the hostname. -preserve_hostname: false -# The modules that run in the 'init' stage. -cloud_init_modules: - - bootcmd - - write-files - - set_hostname - - update_hostname - - update_etc_hosts - - users-groups - - ssh - -# The modules that run in the 'config' stage. -cloud_config_modules: - - runcmd - -# The modules that run in the 'final' stage. -cloud_final_modules: - - rightscale_userdata - - scripts-per-once - - scripts-per-boot - - scripts-per-instance - - scripts-user - - ssh-authkey-fingerprints - - keys-to-console - - final-message - -# Masquerade as ubuntu since that is the default mode. -system_info: - distro: ubuntu - default_user: - name: archlinux - lock_passwd: True - gecos: Archlinux - groups: [adm, audio, cdrom, dialout, dip, floppy, netdev, plugdev, sudo, video] - sudo: ["ALL=(ALL) NOPASSWD:ALL"] - shell: /bin/bash - paths: - cloud_dir: /var/lib/cloud/ -
[arch-commits] Commit in cloud-init/repos/community-any (4 files)
Date: Tuesday, September 6, 2016 @ 19:26:20 Author: arojas Revision: 10 archrelease: copy trunk to community-any Added: cloud-init/repos/community-any/PKGBUILD (from rev 188879, cloud-init/trunk/PKGBUILD) cloud-init/repos/community-any/archlinux.cloud.cfg (from rev 188879, cloud-init/trunk/archlinux.cloud.cfg) Deleted: cloud-init/repos/community-any/PKGBUILD cloud-init/repos/community-any/archlinux.cloud.cfg -+ PKGBUILD| 60 +++ archlinux.cloud.cfg | 94 +- 2 files changed, 77 insertions(+), 77 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-09-06 19:25:59 UTC (rev 188879) +++ PKGBUILD2016-09-06 19:26:20 UTC (rev 10) @@ -1,30 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace - -pkgname=cloud-init -pkgver=0.7.6 -pkgrel=2 -pkgdesc="Cloud Bootstrapping Application" -arch=(any) -license=("GPL3") -url=https://launchpad.net/cloud-init -# cloud-init python lib requirements (according to Requires file): -depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer net-tools) -makedepends=('python2' 'python2-setuptools') -options=(!emptydirs) -# Archlinux specific cloud.cfg -source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz) -sha1sums=('9af02f68d68abce91463bec22b17964d1618e1da') -backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg) - -prepare(){ -find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/&2/' {} + -sed -i '1s/python$/&2/' $pkgname-$pkgver/tools/read* -sed -i 's:/etc/systemd:/usr/lib/systemd:g' $pkgname-$pkgver/setup.py -sed -i 's,name: ubuntu,name: archlinux,;s,gecos: Ubuntu,gecos: Archlinux,' $srcdir/$pkgname-$pkgver/config/cloud.cfg -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - python2 ./setup.py install --root=${pkgdir} --init-system systemd -} Copied: cloud-init/repos/community-any/PKGBUILD (from rev 188879, cloud-init/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-09-06 19:26:20 UTC (rev 10) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Daniel Wallace + +pkgname=cloud-init +pkgver=0.7.7 +pkgrel=1 +pkgdesc="Cloud Bootstrapping Application" +arch=(any) +license=("GPL3") +url=https://launchpad.net/cloud-init +# cloud-init python lib requirements (according to Requires file): +depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer net-tools) +makedepends=('python2' 'python2-setuptools') +options=(!emptydirs) +# Archlinux specific cloud.cfg +source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz) +sha1sums=('6c075328b5acb54711293c667504dda0edf06eb3') +backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg) + +prepare(){ +find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/&2/' {} + +sed -i '1s/python$/&2/' $pkgname-$pkgver/tools/read* +sed -e 's:/etc/systemd:/usr/lib/systemd:g' -e 's:\"/lib\":\"/usr/lib\":g' -i $pkgname-$pkgver/setup.py +sed -i 's,name: ubuntu,name: archlinux,;s,gecos: Ubuntu,gecos: Archlinux,' $srcdir/$pkgname-$pkgver/config/cloud.cfg +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + python2 ./setup.py install --root=${pkgdir} --init-system systemd +} Deleted: archlinux.cloud.cfg === --- archlinux.cloud.cfg 2016-09-06 19:25:59 UTC (rev 188879) +++ archlinux.cloud.cfg 2016-09-06 19:26:20 UTC (rev 10) @@ -1,47 +0,0 @@ -## -### Archlinux cloud.cfg - This config enables Archlinux tested/compatible cloud-init modules. -## - -# Not using additional user / sudoers scheme. -disable_root: false -# Allow cloud-init to set the hostname. -preserve_hostname: false -# The modules that run in the 'init' stage. -cloud_init_modules: - - bootcmd - - write-files - - set_hostname - - update_hostname - - update_etc_hosts - - users-groups - - ssh - -# The modules that run in the 'config' stage. -cloud_config_modules: - - runcmd - -# The modules that run in the 'final' stage. -cloud_final_modules: - - rightscale_userdata - - scripts-per-once - - scripts-per-boot - - scripts-per-instance - - scripts-user - - ssh-authkey-fingerprints - - keys-to-console - - final-message - -# Masquerade as ubuntu since that is the default mode. -system_info: - distro: ubuntu - default_user: - name: archlinux - lock_passwd: True - gecos: Archlinux - groups: [adm, audio, cdrom, dialout, dip, floppy, netdev, plugdev, sudo, video] - sudo: ["ALL=(ALL) NOPASSWD:ALL"] - shell: /bin/bash - paths: - cloud_dir: /var/lib/cloud/ - templates_dir: /etc/cloud/templates/ -
[arch-commits] Commit in cloud-init/repos/community-any (4 files)
Date: Thursday, October 22, 2015 @ 02:38:16 Author: dwallace Revision: 144649 archrelease: copy trunk to community-any Added: cloud-init/repos/community-any/PKGBUILD (from rev 144648, cloud-init/trunk/PKGBUILD) cloud-init/repos/community-any/archlinux.cloud.cfg (from rev 144648, cloud-init/trunk/archlinux.cloud.cfg) Deleted: cloud-init/repos/community-any/PKGBUILD cloud-init/repos/community-any/archlinux.cloud.cfg -+ PKGBUILD| 59 + archlinux.cloud.cfg | 87 +++--- 2 files changed, 77 insertions(+), 69 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-10-22 00:37:57 UTC (rev 144648) +++ PKGBUILD2015-10-22 00:38:16 UTC (rev 144649) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace - -pkgname=cloud-init -pkgver=0.7.6 -pkgrel=1 -pkgdesc="Cloud Bootstrapping Application" -arch=(any) -license=("GPL3") -url=https://launchpad.net/cloud-init -# cloud-init python lib requirements (according to Requires file): -depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer net-tools) -makedepends=('python2' 'python2-setuptools') -options=(!emptydirs) -# Archlinux specific cloud.cfg -source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz) -sha1sums=('9af02f68d68abce91463bec22b17964d1618e1da') -backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg) - -prepare(){ -find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/&2/' {} + -sed -i '1s/python$/&2/' $pkgname-$pkgver/tools/read* -sed -i 's:/etc/systemd:/usr/lib/systemd:g' $pkgname-$pkgver/setup.py -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - python2 ./setup.py install --root=${pkgdir} --init-system systemd -} Copied: cloud-init/repos/community-any/PKGBUILD (from rev 144648, cloud-init/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-10-22 00:38:16 UTC (rev 144649) @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Daniel Wallace + +pkgname=cloud-init +pkgver=0.7.6 +pkgrel=2 +pkgdesc="Cloud Bootstrapping Application" +arch=(any) +license=("GPL3") +url=https://launchpad.net/cloud-init +# cloud-init python lib requirements (according to Requires file): +depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer net-tools) +makedepends=('python2' 'python2-setuptools') +options=(!emptydirs) +# Archlinux specific cloud.cfg +source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz) +sha1sums=('9af02f68d68abce91463bec22b17964d1618e1da') +backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg) + +prepare(){ +find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/&2/' {} + +sed -i '1s/python$/&2/' $pkgname-$pkgver/tools/read* +sed -i 's:/etc/systemd:/usr/lib/systemd:g' $pkgname-$pkgver/setup.py +sed -i 's,name: ubuntu,name: archlinux,;s,gecos: Ubuntu,gecos: Archlinux,' $srcdir/$pkgname-$pkgver/config/cloud.cfg +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + python2 ./setup.py install --root=${pkgdir} --init-system systemd +} Deleted: archlinux.cloud.cfg === --- archlinux.cloud.cfg 2015-10-22 00:37:57 UTC (rev 144648) +++ archlinux.cloud.cfg 2015-10-22 00:38:16 UTC (rev 144649) @@ -1,40 +0,0 @@ -## -### Archlinux cloud.cfg - This config enables Archlinux tested/compatible cloud-init modules. -## - -# Not using additional user / sudoers scheme. -disable_root: false -# Allow cloud-init to set the hostname. -preserve_hostname: false -# The modules that run in the 'init' stage. -cloud_init_modules: - - bootcmd - - write-files - - set_hostname - - update_hostname - - update_etc_hosts - - users-groups - - ssh - -# The modules that run in the 'config' stage. -cloud_config_modules: - - runcmd - -# The modules that run in the 'final' stage. -cloud_final_modules: - - rightscale_userdata - - scripts-per-once - - scripts-per-boot - - scripts-per-instance - - scripts-user - - ssh-authkey-fingerprints - - keys-to-console - - final-message - -# Masquerade as ubuntu since that is the default mode. -system_info: - distro: ubuntu - paths: - cloud_dir: /var/lib/cloud/ - templates_dir: /etc/cloud/templates/ - ssh_svcname: sshd Copied: cloud-init/repos/community-any/archlinux.cloud.cfg (from rev 144648, cloud-init/trunk/archlinux.cloud.cfg) === --- archlinux.cloud.cfg (rev 0) +++ archlinux.cloud.cfg 2015-10-22 00:38:16 UTC (rev 144649) @@ -0,0 +1,47 @@ +## +### Archlinux cloud.cfg - This config enables
[arch-commits] Commit in cloud-init/repos/community-any (4 files)
Date: Tuesday, October 21, 2014 @ 23:53:56 Author: dwallace Revision: 121172 archrelease: copy trunk to community-any Added: cloud-init/repos/community-any/PKGBUILD (from rev 121171, cloud-init/trunk/PKGBUILD) cloud-init/repos/community-any/archlinux.cloud.cfg (from rev 121171, cloud-init/trunk/archlinux.cloud.cfg) Deleted: cloud-init/repos/community-any/PKGBUILD cloud-init/repos/community-any/archlinux.cloud.cfg -+ PKGBUILD| 65 ++-- archlinux.cloud.cfg | 80 +- 2 files changed, 69 insertions(+), 76 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-10-21 21:53:34 UTC (rev 121171) +++ PKGBUILD2014-10-21 21:53:56 UTC (rev 121172) @@ -1,36 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com - -pkgname=cloud-init -pkgver=0.7.5 -pkgrel=2 -pkgdesc=Cloud Bootstrapping Application -arch=(any) -license=(GPL3) -url=https://launchpad.net/cloud-init -# cloud-init python lib requirements (according to Requires file): -depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer) -makedepends=('python2' 'python2-setuptools') -options=(!emptydirs) -# Archlinux specific cloud.cfg -source=(archlinux.cloud.cfg - https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz -) -noextract=(archlinux.cloud.cfg) -sha1sums=('4e32767ac0e18f3b6f34cfb184af17c8a84d563c' - '9f21617451ec45b6997470f5c3974de0896d8d67') -backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg) - -prepare(){ -find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/2/' {} + -sed -i '1s/python$/2/' $pkgname-$pkgver/tools/read* -sed -i 's:/etc/systemd:/usr/lib/systemd:g' $pkgname-$pkgver/setup.py -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - python2 ./setup.py install --root=${pkgdir} --init-system systemd - # Use a cloud.cfg crafted for archlinux - mv $pkgdir/etc/cloud/cloud.cfg ${pkgdir}/etc/cloud/cloud.cfg.ubuntu_default - install -Dm644 $srcdir/archlinux.cloud.cfg ${pkgdir}/etc/cloud/cloud.cfg -} Copied: cloud-init/repos/community-any/PKGBUILD (from rev 121171, cloud-init/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-10-21 21:53:56 UTC (rev 121172) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com + +pkgname=cloud-init +pkgver=0.7.6 +pkgrel=1 +pkgdesc=Cloud Bootstrapping Application +arch=(any) +license=(GPL3) +url=https://launchpad.net/cloud-init +# cloud-init python lib requirements (according to Requires file): +depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer net-tools) +makedepends=('python2' 'python2-setuptools') +options=(!emptydirs) +# Archlinux specific cloud.cfg +source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz) +sha1sums=('9af02f68d68abce91463bec22b17964d1618e1da') +backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg) + +prepare(){ +find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/2/' {} + +sed -i '1s/python$/2/' $pkgname-$pkgver/tools/read* +sed -i 's:/etc/systemd:/usr/lib/systemd:g' $pkgname-$pkgver/setup.py +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + python2 ./setup.py install --root=${pkgdir} --init-system systemd +} Deleted: archlinux.cloud.cfg === --- archlinux.cloud.cfg 2014-10-21 21:53:34 UTC (rev 121171) +++ archlinux.cloud.cfg 2014-10-21 21:53:56 UTC (rev 121172) @@ -1,40 +0,0 @@ -## -### Archlinux cloud.cfg - This config enables Archlinux tested/compatible cloud-init modules. -## - -# Not using additional user / sudoers scheme. -disable_root: false -# Allow cloud-init to set the hostname. -preserve_hostname: false -# The modules that run in the 'init' stage. -cloud_init_modules: - - bootcmd - - write-files - - set_hostname - - update_hostname - - update_etc_hosts - - users-groups - - ssh - -# The modules that run in the 'config' stage. -cloud_config_modules: - - runcmd - -# The modules that run in the 'final' stage. -cloud_final_modules: - - rightscale_userdata - - scripts-per-once - - scripts-per-boot - - scripts-per-instance - - scripts-user - - ssh-authkey-fingerprints - - keys-to-console - - final-message - -# Masquerade as ubuntu since that is the default mode. -system_info: - distro: ubuntu - paths: - cloud_dir: /var/lib/cloud/ - templates_dir: /etc/cloud/templates/ - ssh_svcname: sshd Copied: cloud-init/repos/community-any/archlinux.cloud.cfg (from rev 121171, cloud-init/trunk/archlinux.cloud.cfg)
[arch-commits] Commit in cloud-init/repos/community-any (4 files)
Date: Friday, May 23, 2014 @ 00:35:22 Author: dwallace Revision: 111739 archrelease: copy trunk to community-any Added: cloud-init/repos/community-any/PKGBUILD (from rev 111738, cloud-init/trunk/PKGBUILD) cloud-init/repos/community-any/archlinux.cloud.cfg (from rev 111738, cloud-init/trunk/archlinux.cloud.cfg) Deleted: cloud-init/repos/community-any/PKGBUILD cloud-init/repos/community-any/archlinux.cloud.cfg -+ PKGBUILD| 71 ++-- archlinux.cloud.cfg | 80 +- 2 files changed, 76 insertions(+), 75 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-05-22 22:35:03 UTC (rev 111738) +++ PKGBUILD2014-05-22 22:35:22 UTC (rev 111739) @@ -1,35 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com - -pkgname=cloud-init -pkgver=0.7.5 -pkgrel=1 -pkgdesc=Cloud Bootstrapping Application -arch=(any) -license=(GPL3) -url=https://launchpad.net/cloud-init -# cloud-init python lib requirements (according to Requires file): -depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer) -makedepends=('python2' 'python2-setuptools') -options=(!emptydirs) -# Archlinux specific cloud.cfg -source=(archlinux.cloud.cfg - https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz -) -noextract=(archlinux.cloud.cfg) -sha1sums=('4e32767ac0e18f3b6f34cfb184af17c8a84d563c' - '9f21617451ec45b6997470f5c3974de0896d8d67') -backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg) - -prepare(){ -find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/2/' {} + -sed -i '1s/python$/2/' $pkgname-$pkgver/tools/read* -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - python2 ./setup.py install --root=${pkgdir} --init-system systemd - # Use a cloud.cfg crafted for archlinux - mv $pkgdir/etc/cloud/cloud.cfg ${pkgdir}/etc/cloud/cloud.cfg.ubuntu_default - install -Dm644 $srcdir/archlinux.cloud.cfg ${pkgdir}/etc/cloud/cloud.cfg -} Copied: cloud-init/repos/community-any/PKGBUILD (from rev 111738, cloud-init/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-05-22 22:35:22 UTC (rev 111739) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Daniel Wallace danielwallace at gtmanfred dot com + +pkgname=cloud-init +pkgver=0.7.5 +pkgrel=2 +pkgdesc=Cloud Bootstrapping Application +arch=(any) +license=(GPL3) +url=https://launchpad.net/cloud-init +# cloud-init python lib requirements (according to Requires file): +depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer) +makedepends=('python2' 'python2-setuptools') +options=(!emptydirs) +# Archlinux specific cloud.cfg +source=(archlinux.cloud.cfg + https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz +) +noextract=(archlinux.cloud.cfg) +sha1sums=('4e32767ac0e18f3b6f34cfb184af17c8a84d563c' + '9f21617451ec45b6997470f5c3974de0896d8d67') +backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg) + +prepare(){ +find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/2/' {} + +sed -i '1s/python$/2/' $pkgname-$pkgver/tools/read* +sed -i 's:/etc/systemd:/usr/lib/systemd:g' $pkgname-$pkgver/setup.py +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + python2 ./setup.py install --root=${pkgdir} --init-system systemd + # Use a cloud.cfg crafted for archlinux + mv $pkgdir/etc/cloud/cloud.cfg ${pkgdir}/etc/cloud/cloud.cfg.ubuntu_default + install -Dm644 $srcdir/archlinux.cloud.cfg ${pkgdir}/etc/cloud/cloud.cfg +} Deleted: archlinux.cloud.cfg === --- archlinux.cloud.cfg 2014-05-22 22:35:03 UTC (rev 111738) +++ archlinux.cloud.cfg 2014-05-22 22:35:22 UTC (rev 111739) @@ -1,40 +0,0 @@ -## -### Archlinux cloud.cfg - This config enables Archlinux tested/compatible cloud-init modules. -## - -# Not using additional user / sudoers scheme. -disable_root: false -# Allow cloud-init to set the hostname. -preserve_hostname: false -# The modules that run in the 'init' stage. -cloud_init_modules: - - bootcmd - - write-files - - set_hostname - - update_hostname - - update_etc_hosts - - users-groups - - ssh - -# The modules that run in the 'config' stage. -cloud_config_modules: - - runcmd - -# The modules that run in the 'final' stage. -cloud_final_modules: - - rightscale_userdata - - scripts-per-once - - scripts-per-boot - - scripts-per-instance - - scripts-user - - ssh-authkey-fingerprints - - keys-to-console - - final-message - -# Masquerade as ubuntu since that is the default mode. -system_info: - distro: ubuntu