Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Ubuntu releases #180

Open
paulmenzel opened this issue Jun 7, 2021 · 1 comment
Open

Support Ubuntu releases #180

paulmenzel opened this issue Jun 7, 2021 · 1 comment

Comments

@paulmenzel
Copy link
Contributor

debootstrap also supports Ubuntu releases. Using --release bionic results in an error. For example, the script chroot-script adds an entry for the security package archive.

# add security.debian.org:
case "$RELEASE" in
unstable|sid|lenny) ;; # no security pool available
squeeze|wheezy|jessie|stretch|buster)
echo "Adding security.debian.org to sources.list."
echo "deb http://security.debian.org ${RELEASE}/updates $COMPONENTS" >> /etc/apt/sources.list
;;
*)
# bullseye and newer releases use a different repository layout, see
# https://lists.debian.org/debian-devel-announce/2019/07/msg00004.html
echo "Adding security.debian.org/debian-security to sources.list."
echo "deb http://security.debian.org/debian-security ${RELEASE}-security $COMPONENTS" >> /etc/apt/sources.list
;;
esac
}

@mika mika changed the title Ubuntu release unsupported Support Ubuntu releases Jun 7, 2021
@mika
Copy link
Member

mika commented Jun 7, 2021

Yeah, but grml-debootstrap is only about Debian so far, as the package description (ease installation of a pure Debian system) says, as well as the manual page at the SUPPORTED RELEASES section. :)

Furthermore quoting from TODO:

  • test support for Ubuntu as debootstrap >=1.0.0 provides support for it

I'm not objecting to also support Ubuntu (and therefore adjusted the title of this issue), but I don't have a use case on my own, so patches welcome. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants