From ce30b4d13fe9717f786513710b386e2ffc6a0daa Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 6 Aug 2021 13:02:21 +0200 Subject: [PATCH] filesystem: add /etc/os-release --- filesystem/.footprint | 1 + filesystem/.signature | 6 +++--- filesystem/Pkgfile | 14 +++++++++++++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/filesystem/.footprint b/filesystem/.footprint index 88e8f8f..fde225c 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 faaf54a..75ba086 100644 --- a/filesystem/.signature +++ b/filesystem/.signature @@ -1,7 +1,7 @@ untrusted comment: verify with /etc/ports/core-arm64.pub -RWSKslkvIwb+2cjcqzaR9cg5Ewscad+zA2lAiCID6HYztdFunk5NUpblMwB3nBcRZxBi+MqRIH8gxZDg47C6ADn6BFfIgN8+rwI= -SHA256 (Pkgfile) = a7bfdd8ce194bd5e2d5bf3561cc2097fd66b3b20ca3bb9400eb70f1077417223 -SHA256 (.footprint) = 71e16dd60d5918bb5d50a6adf37048ef35f0d3d2b1d1f3e5f4bbfb9ce22841cd +RWSKslkvIwb+2eLdcnebwnjzSDBbCA1OR6FruU7h4A3A6H8I24F1EjO2aVgyV+3CDCHcc7otN+K363pQGDruTnlCdLFY/ltHaQc= +SHA256 (Pkgfile) = 5c9fc4fe14c25f77cb6341677d913f80ec67e653b0230720db1d284edef2242b +SHA256 (.footprint) = de7cd6b7dd582e485347b0f716489c82dd41cc00d34b46883d6a03d0c9857fd7 SHA256 (issue) = 046b10d8ee26d0203ed301913653a31ada287a813e80c2e321bcdeae8137f301 SHA256 (motd) = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 SHA256 (shells) = f5e8838cb33249bd0ab3a169097bcc411cfb1b37153f268e6655758942e46656 diff --git a/filesystem/Pkgfile b/filesystem/Pkgfile index 7951147..6127489 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() { @@ -78,4 +78,16 @@ echo "CRUX-ARM 64b 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