openwrt-packages/admin/debootstrap/Makefile

58 lines
2.0 KiB
Makefile
Raw Normal View History

#
# Copyright (C) 2010 Gianluigi Tiesi <sherpya@netfarm.it>
# Copyright (C) 2011-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=debootstrap
debootstrap: update to version 1.0.128+nmu2+deb12u1 debootstrap (1.0.128+nmu2+deb12u1) bookworm; urgency=medium * Non-maintainer upload targeting Debian 12.2, with maintainer approval from Luca Boccassi. * Backport merged-/usr support changes from trixie: - Implement merged-/usr by post-merging. This changes the bootstrap order so that it will be possible for a future version of base-files in trixie/sid to take responsibility for creating the /bin, /sbin, /lib* symlinks, and is a prerequisite for lifting the moratorium imposed by #1035831. (Closes: #1049898; implementation by Helmut Grohne) - functions: Reinstate setup_merged_usr() as it existed before fixing #1049898, for backwards-compatibility with older versions of mmdebstrap. - functions: Default to merged-/usr for suites newer than bookworm, even for the buildd profile. This allows packages targeting trixie to assume that merged-/usr is the only layout possible, and is a prerequisite for lifting the moratorium imposed by #1035831. - Mention --merged-usr in --help output. (Closes: #1031828) * Backport autopkgtest regression fixes from trixie: - Revert fake/schroot-1.6.10-3 to an accurate emulation of the behaviour of schroot 1.6.10-3 (Closes: #983311) - Document schroot 1.6.10-3 with the default profile as expected to fail to use /dev/pts in a lxc >= 3 or Docker container; this is a schroot bug (#983423) and not a debootstrap bug - With these changes, the autopkgtest is confirmed to pass in autopkgtest-virt-qemu (Closes: #983197) -- Simon McVittie <smcv@debian.org> Wed, 30 Aug 2023 15:21:17 +0100 debootstrap (1.0.128+nmu2) unstable; urgency=low * Non-maintainer upload. [ Matthias Klumpp ] * Update PureOS bootstrap script [ Luca Boccassi ] * autopkgtest: fix running on !amd64 * autopkgtest: run on 'testing' instead of 'bookworm' -- Luca Boccassi <bluca@debian.org> Tue, 18 Oct 2022 23:49:31 +0100 debootstrap (1.0.128+nmu1) unstable; urgency=low * Non-maintainer upload. * autopkgtest: add /usr/sbin to PATH -- Luca Boccassi <bluca@debian.org> Mon, 17 Oct 2022 10:45:01 +0100 debootstrap (1.0.128) unstable; urgency=low [ Samuel Thibault ] * Make gbp tag produce the right tag format [ Carsten Schoenert ] * Add (PureOS) byzantium as a symlink to amber * Add (PureOS) crimson as a symlink to amber [ Daniel Watkins ] * Support Packages files which are not ordered alphabetically by Package field (LP: #1990856) [ Dimitri John Ledkov ] * d/tests/unsorted-packages-files: cleanup temp files and daemon [ Tianon Gravi ] * Apply "EXCLUDE_DEPENDENCY" during "resolve_deps" -- Dimitri John Ledkov <dimitri.ledkov@canonical.com> Fri, 14 Oct 2022 12:31:04 +0100 debootstrap (1.0.127+nmu1) unstable; urgency=medium * Non-maintainer upload. [ Ansgar ] * debootstrap: optionally exclude specific dependencies * debian-common: exclude usrmerge when installing usr-is-merged [ Samuel Thibault ] * Enable usrmerge on hurd-i386 too. -- Luca Boccassi <bluca@debian.org> Sat, 24 Sep 2022 14:07:46 +0100 debootstrap (1.0.127) unstable; urgency=medium [ Heysion Yuan ] * add usrmerge support loongarch64. [ Paul Menzel ] * Avoid duplicate components in `sources.list`. [ Edward Tomasz Napierala ] * Mount /dev/fd if the host is FreeBSD. [ Debian Janitor ] * Bump debhelper from old 12 to 13. * Update renamed lintian tag names in lintian overrides. [ Luca Falavigna ] * Add (Ubuntu) kinetic as a symlink to gutsy. * Update standards version to 4.6.0.1, no changes needed. [ Luca Boccassi ] * setup_merged_usr: create skip flag when merged-usr is disabled on bookworm+ * Add usr-is-merged to the required set on testing/unstable -- Dimitri John Ledkov <dimitri.ledkov@canonical.com> Mon, 25 Jul 2022 13:25:39 +0100 debootstrap (1.0.126+nmu1) unstable; urgency=medium * Non-maintainer upload. * Undo the changes of the last upload. (Closes: #998867) -- Johannes Schauer Marin Rodrigues <josch@debian.org> Sun, 28 Nov 2021 12:38:15 +0100 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-12-20 03:51:20 +01:00
PKG_VERSION:=1.0.128+nmu2+deb12u1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-udeb_$(PKG_VERSION)_all.udeb
PKG_SOURCE_URL:=@DEBIAN/pool/main/d/debootstrap
debootstrap: update to version 1.0.128+nmu2+deb12u1 debootstrap (1.0.128+nmu2+deb12u1) bookworm; urgency=medium * Non-maintainer upload targeting Debian 12.2, with maintainer approval from Luca Boccassi. * Backport merged-/usr support changes from trixie: - Implement merged-/usr by post-merging. This changes the bootstrap order so that it will be possible for a future version of base-files in trixie/sid to take responsibility for creating the /bin, /sbin, /lib* symlinks, and is a prerequisite for lifting the moratorium imposed by #1035831. (Closes: #1049898; implementation by Helmut Grohne) - functions: Reinstate setup_merged_usr() as it existed before fixing #1049898, for backwards-compatibility with older versions of mmdebstrap. - functions: Default to merged-/usr for suites newer than bookworm, even for the buildd profile. This allows packages targeting trixie to assume that merged-/usr is the only layout possible, and is a prerequisite for lifting the moratorium imposed by #1035831. - Mention --merged-usr in --help output. (Closes: #1031828) * Backport autopkgtest regression fixes from trixie: - Revert fake/schroot-1.6.10-3 to an accurate emulation of the behaviour of schroot 1.6.10-3 (Closes: #983311) - Document schroot 1.6.10-3 with the default profile as expected to fail to use /dev/pts in a lxc >= 3 or Docker container; this is a schroot bug (#983423) and not a debootstrap bug - With these changes, the autopkgtest is confirmed to pass in autopkgtest-virt-qemu (Closes: #983197) -- Simon McVittie <smcv@debian.org> Wed, 30 Aug 2023 15:21:17 +0100 debootstrap (1.0.128+nmu2) unstable; urgency=low * Non-maintainer upload. [ Matthias Klumpp ] * Update PureOS bootstrap script [ Luca Boccassi ] * autopkgtest: fix running on !amd64 * autopkgtest: run on 'testing' instead of 'bookworm' -- Luca Boccassi <bluca@debian.org> Tue, 18 Oct 2022 23:49:31 +0100 debootstrap (1.0.128+nmu1) unstable; urgency=low * Non-maintainer upload. * autopkgtest: add /usr/sbin to PATH -- Luca Boccassi <bluca@debian.org> Mon, 17 Oct 2022 10:45:01 +0100 debootstrap (1.0.128) unstable; urgency=low [ Samuel Thibault ] * Make gbp tag produce the right tag format [ Carsten Schoenert ] * Add (PureOS) byzantium as a symlink to amber * Add (PureOS) crimson as a symlink to amber [ Daniel Watkins ] * Support Packages files which are not ordered alphabetically by Package field (LP: #1990856) [ Dimitri John Ledkov ] * d/tests/unsorted-packages-files: cleanup temp files and daemon [ Tianon Gravi ] * Apply "EXCLUDE_DEPENDENCY" during "resolve_deps" -- Dimitri John Ledkov <dimitri.ledkov@canonical.com> Fri, 14 Oct 2022 12:31:04 +0100 debootstrap (1.0.127+nmu1) unstable; urgency=medium * Non-maintainer upload. [ Ansgar ] * debootstrap: optionally exclude specific dependencies * debian-common: exclude usrmerge when installing usr-is-merged [ Samuel Thibault ] * Enable usrmerge on hurd-i386 too. -- Luca Boccassi <bluca@debian.org> Sat, 24 Sep 2022 14:07:46 +0100 debootstrap (1.0.127) unstable; urgency=medium [ Heysion Yuan ] * add usrmerge support loongarch64. [ Paul Menzel ] * Avoid duplicate components in `sources.list`. [ Edward Tomasz Napierala ] * Mount /dev/fd if the host is FreeBSD. [ Debian Janitor ] * Bump debhelper from old 12 to 13. * Update renamed lintian tag names in lintian overrides. [ Luca Falavigna ] * Add (Ubuntu) kinetic as a symlink to gutsy. * Update standards version to 4.6.0.1, no changes needed. [ Luca Boccassi ] * setup_merged_usr: create skip flag when merged-usr is disabled on bookworm+ * Add usr-is-merged to the required set on testing/unstable -- Dimitri John Ledkov <dimitri.ledkov@canonical.com> Mon, 25 Jul 2022 13:25:39 +0100 debootstrap (1.0.126+nmu1) unstable; urgency=medium * Non-maintainer upload. * Undo the changes of the last upload. (Closes: #998867) -- Johannes Schauer Marin Rodrigues <josch@debian.org> Sun, 28 Nov 2021 12:38:15 +0100 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-12-20 03:51:20 +01:00
PKG_HASH:=4fa4ec7c144ed047c47d0d8eb9b91b56eaa9b2db2b52510777abbabf5965d268
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=Unique
PKG_LICENSE_FILES:=debian/copyright
UNPACK_CMD=ar -p "$(DL_DIR)/$(PKG_SOURCE)" data.tar.xz | xzcat | tar -C $(1) -xf -
include $(INCLUDE_DIR)/package.mk
define Package/debootstrap
SECTION:=admin
CATEGORY:=Administration
TITLE:=Bootstrap a basic Debian system
URL:=https://wiki.debian.org/Debootstrap
DEPENDS:= +coreutils +coreutils-chroot +coreutils-sha1sum +ar +xz-utils +xz
endef
define Package/debootstrap/description
debootstrap is used to create a Debian base system from scratch, without
requiring the availability of dpkg or apt. It does this by downloading .deb
files from a mirror site, and carefully unpacking them into a directory which
can eventually be chrooted into.
endef
define Build/Compile
# file pkgdetails.c was imported from debian package base-installer version 1.130
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) ./files/pkgdetails.c -o $(PKG_BUILD_DIR)/usr/share/debootstrap/pkgdetails
endef
define Package/debootstrap/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/usr/sbin/$(PKG_NAME) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/usr/share/debootstrap
$(INSTALL_BIN) $(PKG_BUILD_DIR)/usr/share/debootstrap/pkgdetails $(1)/usr/share/debootstrap
$(INSTALL_DATA) $(PKG_BUILD_DIR)/usr/share/debootstrap/functions $(1)/usr/share/debootstrap
$(INSTALL_DIR) $(1)/usr/share/debootstrap/scripts
$(CP) $(PKG_BUILD_DIR)/usr/share/debootstrap/scripts/* $(1)/usr/share/debootstrap/scripts
endef
$(eval $(call BuildPackage,debootstrap))