You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2024/12/10 02:20:38 UTC
(couchdb-ci) branch main updated: Fix up noble-numbat install npm and fakeroot
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-ci.git
The following commit(s) were added to refs/heads/main by this push:
new a0d627a Fix up noble-numbat install npm and fakeroot
a0d627a is described below
commit a0d627a1ded1c08fde3021b4b9b6965bc22422d1
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Mon Dec 9 18:29:23 2024 -0500
Fix up noble-numbat install npm and fakeroot
Also don't need to look for createrepo any longer. None of the deb
distros have nowadays.
---
bin/apt-dependencies.sh | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/bin/apt-dependencies.sh b/bin/apt-dependencies.sh
index d79d53d..7677ab7 100755
--- a/bin/apt-dependencies.sh
+++ b/bin/apt-dependencies.sh
@@ -69,24 +69,21 @@ apt-get install --no-install-recommends -y apt-transport-https curl git pkg-conf
libicu-dev libnspr4-dev \
help2man curl debhelper devscripts dh-exec dh-python equivs \
dialog equivs lintian libwww-perl quilt \
- reprepro rsync \
+ reprepro fakeroot rsync \
vim-tiny screen procps dirmngr ssh-client
-# createrepo_c or createrepo, depending on packaging support
-if [ "${VERSION_CODENAME}" == "noble" ] || [ "${VERSION_CODENAME}" == "bullseye" ] || [ "${VERSION_CODENAME}" == "bookworm" ]; then
- apt-get install --no-install-recommends -y createrepo-c || true
-else
- # python 2 based; gone from focal / bullseye / bookworm. look for createrepo_c eventually
- # hopefully via: https://github.com/rpm-software-management/createrepo_c/issues/145
- apt-get install --no-install-recommends -y createrepo || true
-fi
+# createrepo_c is optional, all distros have it except focal
+# once focal is dropped can just added to the list above
+#
+apt-get install --no-install-recommends -y createrepo-c || true
+
# Node.js (ubuntu noble has version 18, otherwise build a package)
if [ "${VERSION_CODENAME}" == "noble" ] && [ "${NODEVERSION}" == "18" ]; then
echo "--- Ubuntu Noble (24.04) has NodeJS 18 so we just install it from there"
- apt-get install --no-install-recommends -y nodejs
+ apt-get install --no-install-recommends -y nodejs npm
else
wget https://deb.nodesource.com/setup_${NODEVERSION}.x
if /bin/bash setup_${NODEVERSION}.x; then