1
0

release 6.15.9

This commit is contained in:
2025-08-01 16:53:46 +03:00
parent 4d05ae4de6
commit 28be96caa2
3 changed files with 17 additions and 9 deletions

9
debian/rules.real vendored
View File

@@ -366,7 +366,7 @@ build_image: $(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
binary_image: DH_STRIP_ARGS = --no-automatic-dbgsym
binary_image: REAL_VERSION = $(ABINAME)$(LOCALVERSION)
binary_image: SYSTEM_MAP_PATH = lib/modules/$(REAL_VERSION)/System.map.xz
binary_image: SYSTEM_MAP_PATH = lib/modules/$(REAL_VERSION)/System.map
binary_image: INSTALL_DIR = $(DESTDIR)/boot
binary_image: DIR = $(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
binary_image: DIR2 = $(DIR)/output/image
@@ -379,9 +379,10 @@ ifneq ($(filter arm64 armel armhf mipsel mips64el mipsr6 mipsr6el mips64r6 mips6
dh_install --sourcedir=$(DIR2) usr
endif
$(cleanup_config) $(DIR)/.config > $(DESTDIR)/boot/config-$(REAL_VERSION)
xz -9k < $(DIR)/System.map > $(DESTDIR)/$(SYSTEM_MAP_PATH)
echo "ffffffffffffffff B The real System.map is compressed into /$(SYSTEM_MAP_PATH)" > $(DESTDIR)/boot/System.map-$(REAL_VERSION)
rm -rf $(DESTDIR)/lib/firmware
cp -f $(DIR)/System.map $(DESTDIR)/$(SYSTEM_MAP_PATH)
chmod 0600 $(DESTDIR)/$(SYSTEM_MAP_PATH)
ln -s '/$(SYSTEM_MAP_PATH)' $(DESTDIR)/boot/System.map-$(REAL_VERSION)
rm -rvf $(DESTDIR)/lib/firmware
$(dh_binary_post)
build_source: