From d1033e661e63ab52fab006d79916ff13c8e80099 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 21 Sep 2021 20:29:56 +0200 Subject: [PATCH] filesystem: add /etc/os-release, FS#1841 --- filesystem/.footprint | 1 + filesystem/.signature | 6 +++--- filesystem/Pkgfile | 12 +++++++++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/filesystem/.footprint b/filesystem/.footprint index 179bc47..92bec9f 100644 --- a/filesystem/.footprint +++ b/filesystem/.footprint @@ -11,6 +11,7 @@ drwxr-xr-x root/root etc/ -rw-r--r-- root/root etc/mime.types -rw-r--r-- root/root etc/motd (EMPTY) lrwxrwxrwx root/root etc/mtab -> /proc/self/mounts +-rw-r--r-- root/root etc/os-release -rw-r--r-- root/root etc/passwd -rw-r--r-- root/root etc/securetty -rw-r----- root/root etc/shadow diff --git a/filesystem/.signature b/filesystem/.signature index f34276b..5278522 100644 --- a/filesystem/.signature +++ b/filesystem/.signature @@ -1,7 +1,7 @@ untrusted comment: verify with /etc/ports/core-arm.pub -RWTMGLGEHsm4dU0evKoTu0c9s4bHx5gRyu9YC93CK/k08ZRdu2r1HEGtRn3V0VJIC6D0tXSu9FbICOR1IfIo0+y78hYfmOu4IwI= -SHA256 (Pkgfile) = 06ee5b520de797475cbc04a98cd6f1d1879e772425418ceb1ac19e256e484d29 -SHA256 (.footprint) = c9c9a2d821af81d68dec0b73e81b27d8cb664f32440f577fb7fbbba567dcbf2b +RWTMGLGEHsm4dXlEaderGJe6tWOvT4HPij8+lFf92hcToGL1xiIm1aSyvKX92aPTLihsok+E9ksZExIIHsURsd3/qPzAkAVXXQo= +SHA256 (Pkgfile) = de905394629072505911807cccf6c73a65aa994a44f62f43b0b672117643bc96 +SHA256 (.footprint) = 29fcc4938a939ce7d8bff68662a08685a82026864160ca38b683b67d0079562b SHA256 (issue) = c1a778304130a697513169fce5193fe32fe146dcef09ea88b84185842821274a SHA256 (motd) = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 SHA256 (shells) = f5e8838cb33249bd0ab3a169097bcc411cfb1b37153f268e6655758942e46656 diff --git a/filesystem/Pkgfile b/filesystem/Pkgfile index e014574..b1e8d51 100644 --- a/filesystem/Pkgfile +++ b/filesystem/Pkgfile @@ -5,7 +5,7 @@ name=filesystem version=3.6 -release=1 +release=2 source=(issue motd shells group passwd shadow securetty fstab mime.types) build() { @@ -76,4 +76,14 @@ echo "CRUX-ARM version $version" # End of file EOF chmod 755 $PKG/usr/bin/crux + + # /etc/os-release +cat > $PKG/etc/os-release << EOF +NAME=CRUX-ARM +VERSION="$version" +ID=crux-arm +PRETTY_NAME="CRUX-ARM" +HOME_URL="https://crux-arm.nu/" +BUG_REPORT_URL="https://crux-arm.nu/bugs/" +EOF } -- 2.26.2