diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-09-23 07:46:32 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-09-23 07:46:32 (EDT) |
commit | c947891930504dda5f398e0f9dadcc1146f431f0 (patch) | |
tree | 5dc69acd80d39db173e74af36168d3dcac446b30 | |
parent | d951d66655bde302110907377c8231ce1cffff67 (diff) |
profile_get_os_release(): Drop
base-files provides this as of version 1.0.3.
-rw-r--r-- | lib/profile.sh | 9 | ||||
-rw-r--r-- | lib/profile/proteanos.sh | 23 |
2 files changed, 0 insertions, 32 deletions
diff --git a/lib/profile.sh b/lib/profile.sh index f1ef6f0..caa1160 100644 --- a/lib/profile.sh +++ b/lib/profile.sh @@ -137,12 +137,3 @@ profile_configure_system_foreign() "prof_${profile}_configure_system_foreign" "${root}" } - -# TODO: /etc/os-release should be provided by base-files. -profile_get_os_release() -{ - local arch="${1}" - local plat="${2}" - - "prof_${profile}_get_os_release" "${arch}" "${plat}" -} diff --git a/lib/profile/proteanos.sh b/lib/profile/proteanos.sh index 7c3e028..c15ea86 100644 --- a/lib/profile/proteanos.sh +++ b/lib/profile/proteanos.sh @@ -48,16 +48,6 @@ start() rm "${SCRIPT}" } ' -prof_proteanos_os_release_linux="\ -NAME='ProteanOS BusyBox/Linux-libre' -VERSION='1.0' -ID=proteanos -VERSION_ID='1.0' -PRETTY_NAME='ProteanOS BusyBox/Linux-libre 1.0' -ANSI_COLOR='1;34' -HOME_URL='http://www.proteanos.com/' -BUG_REPORT_URL='mailto:proteanos-dev@lists.proteanos.com' -" prof_proteanos_normalize_suite() { @@ -219,16 +209,3 @@ prof_proteanos_configure_system_foreign() [ -e "${root}/etc/passwd" ] || printf \ 'root::0:0:root:/root:/bin/sh\n' >"${root}/etc/passwd" } - -prof_proteanos_get_os_release() -{ - local arch="${1}" - local plat="${2}" - - case "${arch}" in - *-linux-*) - printf '%s\n' "${prof_proteanos_os_release_linux}" | \ - grep -v '^$' - ;; - esac -} |