diff -Nru base-files-12.2/debian/changelog base-files-12.2+rpi1/debian/changelog --- base-files-12.2/debian/changelog 2022-01-19 22:34:00.000000000 +0000 +++ base-files-12.2+rpi1/debian/changelog 2022-02-15 20:21:05.000000000 +0000 @@ -1,3 +1,21 @@ +base-files (12.2+rpi1) bookworm-staging; urgency=medium + + [changes brought forward from 8+rpi1 by Peter Michael Green at Wed, 07 Jan 2015 02:03:42 +0000] + * Modify default vendor etc for raspbian. + * Modify maintainer scripts so default will be set to raspbian even when + upgrading + [changes introduced in 10+rpi1 by Peter Michael Green] + * Make some changes using sed in debian/rules rather than directly in source + package to avoid merge conflicts. + [changes introduced in 10.3+rpi1 by Peter Michael Green] + * Make further changes in debian/rules rather than directly to files in + package to further avoid merge conflicts. + * Make changes in debian/rules in the "install" step to avoid the need for + code to revert them. + * Add build-dependency on moreutils to support new code in debian/rules. + + -- Peter Michael Green Tue, 15 Feb 2022 20:21:05 +0000 + base-files (12.2) unstable; urgency=medium * A simplified version of the patch for DPKG_ROOT was applied, but the diff -Nru base-files-12.2/debian/control base-files-12.2+rpi1/debian/control --- base-files-12.2/debian/control 2021-04-10 20:15:00.000000000 +0000 +++ base-files-12.2+rpi1/debian/control 2022-02-15 20:21:05.000000000 +0000 @@ -3,7 +3,7 @@ Priority: required Maintainer: Santiago Vila Standards-Version: 4.1.3 -Build-Depends: debhelper-compat (= 13) +Build-Depends: debhelper-compat (= 13), moreutils Package: base-files Provides: base diff -Nru base-files-12.2/debian/postinst.in base-files-12.2+rpi1/debian/postinst.in --- base-files-12.2/debian/postinst.in 2022-01-19 22:34:00.000000000 +0000 +++ base-files-12.2+rpi1/debian/postinst.in 2022-02-15 20:21:05.000000000 +0000 @@ -52,11 +52,11 @@ fi } -if [ ! -e "$DPKG_ROOT/etc/dpkg/origins/default" ]; then +#if [ ! -e "$DPKG_ROOT/etc/dpkg/origins/default" ]; then if [ -e "$DPKG_ROOT/etc/dpkg/origins/#VENDORFILE#" ]; then ln -sf #VENDORFILE# "$DPKG_ROOT/etc/dpkg/origins/default" fi -fi +#fi if [ "$1" = "configure" ] && [ "$2" = "" ]; then install_from_default dot.profile /root/.profile diff -Nru base-files-12.2/debian/rules base-files-12.2+rpi1/debian/rules --- base-files-12.2/debian/rules 2019-07-09 09:00:00.000000000 +0000 +++ base-files-12.2+rpi1/debian/rules 2022-02-15 20:21:05.000000000 +0000 @@ -8,7 +8,7 @@ OSNAME=GNU/Hurd endif -VENDORFILE = debian +VENDORFILE = raspbian DESTDIR = debian/base-files %: @@ -33,6 +33,15 @@ sed -e "s&#OSNAME#&$(OSNAME)&g" etc/issue > $(DESTDIR)/etc/issue sed -e "s&#OSNAME#&$(OSNAME)&g" etc/issue.net > $(DESTDIR)/etc/issue.net sed -e "s&#OSNAME#&$(OSNAME)&g" etc/os-release > $(DESTDIR)/etc/os-release + sed -i s/Debian/Raspbian/ $(DESTDIR)/etc/issue + sed -i s/Debian/Raspbian/ $(DESTDIR)/etc/issue.net + sed -i s/Debian/Raspbian/ $(DESTDIR)/etc/os-release + egrep -v '^(ID|HOME_URL|SUPPORT_URL|BUG_REPORT_URL)' $(DESTDIR)/etc/os-release | sponge $(DESTDIR)/etc/os-release + echo 'ID=raspbian' >> $(DESTDIR)/etc/os-release + echo 'ID_LIKE=debian' >> $(DESTDIR)/etc/os-release + echo 'HOME_URL="http://www.raspbian.org/"' >> $(DESTDIR)/etc/os-release + echo 'SUPPORT_URL="http://www.raspbian.org/RaspbianForums"' >> $(DESTDIR)/etc/os-release + echo 'BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"' >> $(DESTDIR)/etc/os-release mv $(DESTDIR)/etc/os-release $(DESTDIR)/usr/lib/os-release ln -s ../usr/lib/os-release $(DESTDIR)/etc/os-release diff -Nru base-files-12.2/origins/raspbian base-files-12.2+rpi1/origins/raspbian --- base-files-12.2/origins/raspbian 1970-01-01 00:00:00.000000000 +0000 +++ base-files-12.2+rpi1/origins/raspbian 2022-02-15 20:21:05.000000000 +0000 @@ -0,0 +1,4 @@ +Vendor: Raspbian +Vendor-URL: http://www.raspbian.org/ +Bugs: https://bugs.launchpad.net/raspbian/+filebug +Parent: Debian