Skip to content
Snippets Groups Projects
Commit b7045432 authored by Luis Guzmán's avatar Luis Guzmán
Browse files

lvm2: fix udeb build paths.

parent de91dd7c
No related branches found
No related tags found
1 merge request!860lvm2: fix udeb build paths.
Pipeline #675 passed
diff -ru source/debian/rules source/debian/rules
--- source/debian/rules 2021-10-06 04:31:36.000000000 -0500
+++ source/debian/rules 2022-08-18 22:47:15.148996989 -0500
@@ -77,10 +77,7 @@
BUILDS :=
ifneq ($(filter lvm2,$(shell dh_listpackages)),)
-BUILDS += deb
-endif
-ifneq ($(filter lvm2-udeb,$(shell dh_listpackages)),)
-BUILDS += udeb
+BUILDS += deb udeb
endif
ifneq ($(filter lvm2-dbusd,$(shell dh_listpackages)),)
BUILDS += deb_all
@@ -130,12 +127,10 @@
-- $(GENCONTROL_ARGS)
override_dh_install:
-ifneq ($(filter lvm2-udeb,$(shell dh_listpackages)),)
dh_install --sourcedir=debian/build/install_udeb \
-pdmsetup-udeb \
-plibdevmapper$(DEVMAPPER_ABINAME)-udeb \
-plvm2-udeb
-endif
dh_install --sourcedir=debian/build/install_deb_all \
-plvm2-dbusd
dh_install --sourcedir=debian/build/install_deb \
diff -Nru source/debian/dmsetup-udeb.install source_fix/debian/dmsetup-udeb.install
--- source/debian/dmsetup-udeb.install 2021-05-19 17:33:13.000000000 +0000
+++ source_fix/debian/dmsetup-udeb.install 2022-09-11 22:22:13.806360893 +0000
@@ -1,2 +1,2 @@
-lib/udev/rules.d/*dm*.rules lib/udev/rules.d/
+usr/lib/udev/rules.d/*dm*.rules lib/udev/rules.d/
sbin/dmsetup
diff -Nru source/debian/lvm2-udeb.install source_fix/debian/lvm2-udeb.install
--- source/debian/lvm2-udeb.install 2021-05-19 17:33:13.000000000 +0000
+++ source_fix/debian/lvm2-udeb.install 2022-09-11 22:22:32.382314653 +0000
@@ -1,4 +1,4 @@
-lib/udev/rules.d/*-lvm*.rules
+usr/lib/udev/rules.d/*-lvm*.rules
etc/lvm/lvm.conf
sbin/lvchange
sbin/lvconvert
......@@ -23,10 +23,16 @@
# or fetch such packages from Debian in order to build the required udeb packages.
##
VERSION=0
VERSION=1
NETINST=true
. ./config
#Enable udeb path by default
patch -p1 < $DATA/enable_udeb_build.patch
#Fix udeb path usr/lib... instead of lib/...
patch -p1 < $DATA/fix_path_on_udeb_files.patch
changelog "Rebuild upstream to get udeb dependency for debian-installer."
compile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment