From 236d046e1c951e7792ccb090836e3252ed8d1a51 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Mon, 20 Nov 2023 23:52:39 +0200 Subject: [PATCH] endeavour: remove distribution The distribution (arm images) appear to be unmaintained since 2022. Deleting! --- README.md | 1 - distro-build/endeavour.sh | 56 ------------------------------------- distro-plugins/endeavour.sh | 16 ----------- 3 files changed, 73 deletions(-) delete mode 100644 distro-build/endeavour.sh delete mode 100644 distro-plugins/endeavour.sh diff --git a/README.md b/README.md index 64856548e..6e4d444eb 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ Here are the supported distributions (alias: name): * `archlinux`: Arch Linux ARM * `artix`: Artix Linux (AArch64 only) * `debian`: Debian (stable) -* `endeavour`: Endeavour OS (AArch64 only) * `fedora`: Fedora 39 (AArch64 only) * `manjaro-aarch64`: Manjaro (AArch64 only) * `opensuse`: OpenSUSE (Tumbleweed) diff --git a/distro-build/endeavour.sh b/distro-build/endeavour.sh deleted file mode 100644 index 1a22d8c87..000000000 --- a/distro-build/endeavour.sh +++ /dev/null @@ -1,56 +0,0 @@ -dist_name="EndeavourOS" -timestamp="20231006" - -bootstrap_distribution() { - curl --fail --location \ - --output "${WORKDIR}/endeavouros-aarch64.tar.zst" \ - "https://github.com/endeavouros-arm/images/releases/download/rootfs-pbp-${timestamp}/enosLinuxARM-pbp-latest.tar.zst" - - sudo mkdir -m 755 "${WORKDIR}/endeavouros-aarch64-bootstrap" - sudo mkdir -m 755 "${WORKDIR}/endeavouros-aarch64" - sudo tar --zstd -xpf "${WORKDIR}/endeavouros-aarch64.tar.zst" \ - -C "${WORKDIR}/endeavouros-aarch64-bootstrap" - - cat <<- EOF | sudo unshare -mpf bash -e - - rm -f "${WORKDIR}/endeavouros-aarch64-bootstrap/etc/resolv.conf" - echo "nameserver 1.1.1.1" > "${WORKDIR}/endeavouros-aarch64-bootstrap/etc/resolv.conf" - mount --bind "${WORKDIR}/endeavouros-aarch64-bootstrap/" "${WORKDIR}/endeavouros-aarch64-bootstrap/" - mount --bind /dev "${WORKDIR}/endeavouros-aarch64-bootstrap/dev" - mount --bind /proc "${WORKDIR}/endeavouros-aarch64-bootstrap/proc" - mount --bind /sys "${WORKDIR}/endeavouros-aarch64-bootstrap/sys" - mkdir "${WORKDIR}/endeavouros-aarch64-bootstrap/endeavouros-aarch64" - mount --bind "${WORKDIR}/endeavouros-aarch64" "${WORKDIR}/endeavouros-aarch64-bootstrap/endeavouros-aarch64" - chroot "${WORKDIR}/endeavouros-aarch64-bootstrap" pacman-key --init - chroot "${WORKDIR}/endeavouros-aarch64-bootstrap" pacman-key --populate archlinux archlinuxarm endeavouros - chroot "${WORKDIR}/endeavouros-aarch64-bootstrap" pacstrap /endeavouros-aarch64 base - rm -f "${WORKDIR}/endeavouros-aarch64-bootstrap/endeavouros-aarch64/etc/resolv.conf" - echo "nameserver 1.1.1.1" > "${WORKDIR}/endeavouros-aarch64-bootstrap/endeavouros-aarch64/etc/resolv.conf" - EOF - - sudo tar -J -c \ - -f "${ROOTFS_DIR}/endeavouros-aarch64-pd-${CURRENT_VERSION}.tar.xz" \ - -C "$WORKDIR" \ - "endeavouros-aarch64" - sudo chown $(id -un):$(id -gn) "${ROOTFS_DIR}/endeavouros-aarch64-pd-${CURRENT_VERSION}.tar.xz" -} - -write_plugin() { - cat <<- EOF > "${PLUGIN_DIR}/endeavour.sh" - # This is a default distribution plug-in. - # Do not modify this file as your changes will be overwritten on next update. - # If you want customize installation, please make a copy. - DISTRO_NAME="EndeavourOS" - DISTRO_COMMENT="Currently available only for AArch64." - - TARBALL_URL['aarch64']="${GIT_RELEASE_URL}/endeavouros-aarch64-pd-${CURRENT_VERSION}.tar.xz" - TARBALL_SHA256['aarch64']="$(sha256sum "${ROOTFS_DIR}/endeavouros-aarch64-pd-${CURRENT_VERSION}.tar.xz" | awk '{ print $1}')" - - distro_setup() { - ${TAB}# Fix environment variables on login or su. - ${TAB}local f - ${TAB}for f in su su-l system-local-login system-remote-login; do - ${TAB}${TAB}echo "session required pam_env.so readenv=1" >> ./etc/pam.d/"\${f}" - ${TAB}done - } - EOF -} diff --git a/distro-plugins/endeavour.sh b/distro-plugins/endeavour.sh deleted file mode 100644 index 212745606..000000000 --- a/distro-plugins/endeavour.sh +++ /dev/null @@ -1,16 +0,0 @@ -# This is a default distribution plug-in. -# Do not modify this file as your changes will be overwritten on next update. -# If you want customize installation, please make a copy. -DISTRO_NAME="EndeavourOS" -DISTRO_COMMENT="Currently available only for AArch64." - -TARBALL_URL['aarch64']="https://github.com/termux/proot-distro/releases/download/v4.0.2/endeavouros-aarch64-pd-v4.0.2.tar.xz" -TARBALL_SHA256['aarch64']="20da9dc7528fc168bd69d4c5f84dfa3b25e8cc16a6c2d3badcb649b255ed2945" - -distro_setup() { - # Fix environment variables on login or su. - local f - for f in su su-l system-local-login system-remote-login; do - echo "session required pam_env.so readenv=1" >> ./etc/pam.d/"${f}" - done -}