1
0

drop installer

This commit is contained in:
2024-10-29 05:12:06 +03:00
parent 2e85d42e92
commit cfb6102755
696 changed files with 2 additions and 2240 deletions

38
debian/rules.real vendored
View File

@@ -388,7 +388,6 @@ binary_support: PACKAGE_ROOT = /usr/share/$(PACKAGE_NAME)
binary_support:
$(dh_binary_pre)
dh_installdirs $(PACKAGE_ROOT)/lib/python/debian_linux $(PACKAGE_ROOT)/modules
cp -R debian/installer $(DESTDIR)$(PACKAGE_ROOT)/installer
cp debian/lib/python/debian_linux/*.py $(DESTDIR)$(PACKAGE_ROOT)/lib/python/debian_linux
dh_python3
dh_link $(PACKAGE_ROOT) /usr/src/$(PACKAGE_NAME)
@@ -509,46 +508,9 @@ binary_signed-template:
mv $(DEBIAN_DIR)/files.json $(CODE_SIGNING_DIR)/
chmod 755 $(DEBIAN_DIR)/rules
cp -R debian/copyright \
debian/installer \
$(CODE_SIGNING_DIR)/source-template/debian/
$(dh_binary_post)
build_installer:
build_installer-test:
binary_installer binary_installer-test: export KW_DEFCONFIG_DIR=debian/installer
binary_installer binary_installer-test: export KW_CONFIG_DIR=debian/installer
binary_installer binary_installer-test: export SOURCEDIR = $(BUILD_DIR)/install_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
binary_installer binary_installer-test: REAL_VERSION = $(ABINAME)$(LOCALVERSION)
binary_installer: DH_OPTIONS_IMAGE = -p$(IMAGE_PACKAGE_NAME) --sourcedir=$(SOURCEDIR)
binary_installer: $(STAMPS_DIR)/install_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
$(dh_binary_pre)
DH_OPTIONS="$(DH_OPTIONS_IMAGE)" dh_install boot/$(IMAGE_INSTALL_STEM)-$(REAL_VERSION)
DH_OPTIONS="$(DH_OPTIONS_IMAGE)" dh_install lib/modules/$(REAL_VERSION)/modules.builtin
DH_OPTIONS="$(DH_OPTIONS_IMAGE)" dh_install lib/modules/$(REAL_VERSION)/modules.order
ifneq ($(filter arm64 armel armhf mipsel mips64el mipsr6 mipsr6el mips64r6 mips64r6el riscv64,$(ARCH)),)
DH_OPTIONS="$(DH_OPTIONS_IMAGE)" dh_install usr/lib/linux-image-$(REAL_VERSION)
endif
kernel-wedge copy-modules $(ABINAME) $(FLAVOUR) $(REAL_VERSION)
kernel-wedge find-dups $(REAL_VERSION)
kernel-wedge find-unpackaged $(REAL_VERSION) $(REAL_VERSION)
kernel-wedge check $$(dh_listpackages)
dh_fixperms
dh_gencontrol
dh_builddeb -- $(BUILDDEB_ARGS)
binary_installer-test: export DEB_BUILD_PROFILES += pkg.linux.udeb-unsigned-test-build
binary_installer-test:
if [ -n "$$(dh_listpackages)" ]; then \
dh_testdir; \
dh_prep; \
kernel-wedge copy-modules $(ABINAME) $(FLAVOUR) $(REAL_VERSION); \
kernel-wedge find-dups $(REAL_VERSION); \
kernel-wedge find-unpackaged $(REAL_VERSION) $(REAL_VERSION); \
kernel-wedge check $$(dh_listpackages); \
fi
build_source:
binary_source: BUILDDEB_ARGS = -Zxz -z0