summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenzo Castelli2022-06-30 12:34:48 +0000
committerLorenzo Castelli2022-06-30 16:38:57 +0200
commit359cf26dda03bba42711892db27afc812355e5b3 (patch)
tree4777e6b25b17f349c97d7eebcafc6827a76c1262
parentb9d0bfd7dee560d465e6172c1fd5c80903e30f0c (diff)
downloadaur-359cf26dda03bba42711892db27afc812355e5b3.tar.gz
Adds a missing udev script.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a95d7ee83ff..1ad58117e1e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = google-compute-engine
pkgdesc = Linux Guest Environment for Google Compute Engine
pkgver = 20220211.00
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/GoogleCloudPlatform/guest-configs
install = google-compute-engine.install
arch = any
license = Apache
+ depends = nvme-cli
depends = google-compute-engine-oslogin
depends = google-guest-agent
source = google-compute-engine-20220211.00.tar.gz::https://github.com/GoogleCloudPlatform/guest-configs/archive/20220211.00.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index dd24480b29a..e9067848a3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,12 +17,12 @@
pkgname='google-compute-engine'
pkgver=20220211.00
-pkgrel=1
+pkgrel=2
pkgdesc='Linux Guest Environment for Google Compute Engine'
arch=('any')
url='https://github.com/GoogleCloudPlatform/guest-configs'
license=('Apache')
-depends=('google-compute-engine-oslogin' 'google-guest-agent')
+depends=('nvme-cli' 'google-compute-engine-oslogin' 'google-guest-agent')
source=("$pkgname-$pkgver.tar.gz::https://github.com/GoogleCloudPlatform/guest-configs/archive/$pkgver.tar.gz"
'google-compute-engine.install'
'google_set_hostname.patch')
@@ -40,6 +40,7 @@ package() {
cd "$srcdir/guest-configs-$pkgver"
install -m644 -Dt "$pkgdir/etc/modprobe.d" src/etc/modprobe.d/*
install -m644 -Dt "$pkgdir/etc/sysctl.d" src/etc/sysctl.d/*
+ install -m644 -Dt "$pkgdir/usr/lib/udev" src/lib/udev/google_nvme_id
install -m644 -Dt "$pkgdir/usr/lib/udev/rules.d" src/lib/udev/rules.d/*
install -m755 -Dt "$pkgdir/usr/bin" src/usr/bin/*
ln -s /usr/bin/google_set_hostname "$pkgdir/etc/dhclient-exit-hooks"