diff --git a/Makefile b/Makefile index 9cad4e8..e7d8b85 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,13 @@ DISTRO ?= $(shell dirname $(RELEASE)) CODENAME ?= $(shell basename $(RELEASE)) FAB_ARCH := $(shell dpkg --print-architecture) -MIRROR ?= http://deb.debian.org/debian +ifeq ($(DISTRO), debian) + MIRROR ?= http://deb.debian.org/debian +else ifeq ($(DISTRO), ubuntu) + MIRROR ?= http://archive.ubuntu.com/ubuntu +else ifeq ($(MIRROR),) +$(error Distro '$(DISTRO)' not suported) +endif VARIANT ?= minbase EXTRA_PKGS ?= gpg,gpg-agent,ca-certificates REMOVELIST ?= ./removelist diff --git a/README.rst b/README.rst index f2cf81f..4e38f51 100644 --- a/README.rst +++ b/README.rst @@ -2,12 +2,13 @@ About ===== This project builds a Debian ``bootstrap`` for use as a base for -building TurnKey GNU/Linux appliances. +building TurnKey GNU/Linux appliances. It also supports building an +Ubuntu base. Please note that TurnKey is built on Debian, Ubuntu +support should be considered "second class". A ``bootstrap`` is the minimal root filesystem in which packages can -be installed. As of v16.0 / Debian 10/Buster TurnKey uses a default -"minbase" variant Debian bootstrap, with the addition of a couple of -packages. +be installed. TurnKey uses a default "minbase" variant Debian bootstrap, +with the addition of a couple of packages. For further info please run::