commit 61fc386a8eb6090af3d3bff9ff86542d192fa955
parent 62688808876caa476a17be447d1a187c793c9ebc
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Sun, 3 Jan 2021 23:25:30 +0100
Force paths that LVM configure was guessing based of host's configuration.
Diffstat:
5 files changed, 90 insertions(+), 28 deletions(-)
diff --git a/build b/build
@@ -27,9 +27,11 @@ butch install $PKGS || exit $?
#for pkg in $PKGS; do
# butch reproduce $pkg || exit $?
#done
-if ! ( cd sabotage-image && sha512sum -c ../checksums/sabotage-opt.sha512 ) ; then
- echo >&2 "Failed to reproducibly build necessary packages!"
- exit 1
+if test -z "$NO_VERIFY_CHECKSUMS"; then
+ if ! ( cd sabotage-image && sha512sum -c ../checksums/sabotage-opt.sha512 ) ; then
+ echo >&2 "Failed to reproducibly build necessary packages!"
+ exit 1
+ fi
fi
# prepare boot-image
diff --git a/checksums/boot-image.lst b/checksums/boot-image.lst
@@ -740,7 +740,7 @@ boot-image/bin/zcat l777 1 ../opt/busybox/bin/zcat
boot-image/boot l777 1 .
boot-image/etc d755 3
boot-image/etc/lvm d755 3
-boot-image/etc/lvm/lvm.conf f644 1 e429c0782bc6aff465f47eaa70371a1259e44f4b4042ee77de49692fbe7751524cd4f3128ebbb61453b7dfd9dd85aaf0203e209e317b12101b23ab1ed74c1017 boot-image/etc/lvm/lvm.conf
+boot-image/etc/lvm/lvm.conf f644 1 6a79d8ea1fa61dca55c53d7481c8aac7f44839642e45a539d8897a2dc1f56f3bf98b3ae07c34ae8491366af85d43c79bf01d3a86da916820343a44086b58ff45 boot-image/etc/lvm/lvm.conf
boot-image/etc/lvm/lvmlocal.conf f644 1 4b3b0b425ed91b9d075a9ec16cac1547065ce7fe27401cd1ec8b3b799249926a8bd2a92c09e55ab7b76d06ab8c0d93df8fff40b32c85b75f9913384aabd2f3d4 boot-image/etc/lvm/lvmlocal.conf
boot-image/etc/lvm/profile d755 2
boot-image/etc/lvm/profile/cache-mq.profile f444 1 38155af5cf6c15d8057ae886fb9b3779e13364211125d0d707dd30a4c4cf4ce5298c59aef6281846b55747626e7f55d6e34e2452d0a06effb1ebaac4b609870d boot-image/etc/lvm/profile/cache-mq.profile
@@ -1102,14 +1102,14 @@ boot-image/opt/lvm/bin d755 2
boot-image/opt/lvm/bin/blkdeactivate f555 1 a1dd236953f870a32f7d4157ef4882d82797098964dc5d4e02c2af87f197882b794fa4f67e23eb2d4dcd53d720cb7a79c6ad80338e2d58d899d6acbf7a3a5bb2 boot-image/opt/lvm/bin/blkdeactivate
boot-image/opt/lvm/bin/dmsetup f555 1 2e7eadc08d395c0cba67052d2710df2eb01cde9502c6c71cd2d86e72a5fdaf588356f4a4adf30d45a8462698ee8be1fd44158b2eb6b88c9a3b15cad9d84a0f98 boot-image/opt/lvm/bin/dmsetup
boot-image/opt/lvm/bin/dmsetup.static l777 1 dmsetup
-boot-image/opt/lvm/bin/dmstats l777 1 dmsetup
+boot-image/opt/lvm/bin/dmstats l777 1 dmsetup.static
boot-image/opt/lvm/bin/fsadm f555 1 252c6db8d15b04619c224d92134b12c6d53c1862785ad2ef53d46adc82994528bbb5592cae759c4bf2181ee81e6164b59914db7bcca183c86c0af03e50ab3683 boot-image/opt/lvm/bin/fsadm
boot-image/opt/lvm/bin/lvchange l777 1 lvm
boot-image/opt/lvm/bin/lvconvert l777 1 lvm
boot-image/opt/lvm/bin/lvcreate l777 1 lvm
boot-image/opt/lvm/bin/lvdisplay l777 1 lvm
boot-image/opt/lvm/bin/lvextend l777 1 lvm
-boot-image/opt/lvm/bin/lvm f555 1 8766eb6def3aeff91f7d78177526cdf1cab591b4258be69bdf794c8f10e1c253c3b31cd52dd6797a0e211d4c70969f6c811adf2c9f6262490fb563367827074a boot-image/opt/lvm/bin/lvm
+boot-image/opt/lvm/bin/lvm f555 1 b5a818daae531035ddfeab509f0cf3c81161ad8dcc09986149d51b23099ef6b6e9bd43a1951d26027cafa5e337550d7be7cc76387879336cdee7520568f6e85f boot-image/opt/lvm/bin/lvm
boot-image/opt/lvm/bin/lvm.static l777 1 lvm
boot-image/opt/lvm/bin/lvmchange l777 1 lvm
boot-image/opt/lvm/bin/lvmconf f555 1 ddddf5ebee998600f667ef88dc798d3da8f28e26af850d016c2b302ba60a801cf2366b72d01b32e75ebf7249d6c70f2b0cb6a2d3f04f16c21586353246b052b7 boot-image/opt/lvm/bin/lvmconf
@@ -1154,7 +1154,7 @@ boot-image/opt/lvm/bin/vgscan l777 1 lvm
boot-image/opt/lvm/bin/vgsplit l777 1 lvm
boot-image/opt/lvm/etc d755 3
boot-image/opt/lvm/etc/lvm d755 3
-boot-image/opt/lvm/etc/lvm/lvm.conf f644 1 e429c0782bc6aff465f47eaa70371a1259e44f4b4042ee77de49692fbe7751524cd4f3128ebbb61453b7dfd9dd85aaf0203e209e317b12101b23ab1ed74c1017 boot-image/opt/lvm/etc/lvm/lvm.conf
+boot-image/opt/lvm/etc/lvm/lvm.conf f644 1 6a79d8ea1fa61dca55c53d7481c8aac7f44839642e45a539d8897a2dc1f56f3bf98b3ae07c34ae8491366af85d43c79bf01d3a86da916820343a44086b58ff45 boot-image/opt/lvm/etc/lvm/lvm.conf
boot-image/opt/lvm/etc/lvm/lvmlocal.conf f644 1 4b3b0b425ed91b9d075a9ec16cac1547065ce7fe27401cd1ec8b3b799249926a8bd2a92c09e55ab7b76d06ab8c0d93df8fff40b32c85b75f9913384aabd2f3d4 boot-image/opt/lvm/etc/lvm/lvmlocal.conf
boot-image/opt/lvm/etc/lvm/profile d755 2
boot-image/opt/lvm/etc/lvm/profile/cache-mq.profile f444 1 38155af5cf6c15d8057ae886fb9b3779e13364211125d0d707dd30a4c4cf4ce5298c59aef6281846b55747626e7f55d6e34e2452d0a06effb1ebaac4b609870d boot-image/opt/lvm/etc/lvm/profile/cache-mq.profile
diff --git a/checksums/sabotage-opt.sha512 b/checksums/sabotage-opt.sha512
@@ -1,4 +1,3 @@
-e9e906acc73b99c58bda10836f1d61a20c6e0f8af06b229cbfc6256cfed60f2bfa3af8b8a659c381414c4588d340743a8f5732a2761ef7ea3a8fe55130e1edd6 opt/busybox/bin/busybox
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/[
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/[[
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/acpid
@@ -16,6 +15,7 @@ e9e906acc73b99c58bda10836f1d61a20c6e0f8af06b229cbfc6256cfed60f2bfa3af8b8a659c381
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/blkid
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/blockdev
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/bunzip2
+e9e906acc73b99c58bda10836f1d61a20c6e0f8af06b229cbfc6256cfed60f2bfa3af8b8a659c381414c4588d340743a8f5732a2761ef7ea3a8fe55130e1edd6 opt/busybox/bin/busybox
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/bzcat
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/bzip2
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/cal
@@ -66,6 +66,7 @@ e9e906acc73b99c58bda10836f1d61a20c6e0f8af06b229cbfc6256cfed60f2bfa3af8b8a659c381
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/expand
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/expr
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/fakeidentd
+ec5be98723cd85f163896ae6f2cdbf5b1ec20fc76ad67f4ee3e1f418429b9438fec3776f30c22527cde2190ea0db02fac487d315ec007b2a6023f2d10fb1feb7 opt/busybox/bin/false
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/fatattr
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/fbset
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/fdflush
@@ -275,6 +276,7 @@ e9e906acc73b99c58bda10836f1d61a20c6e0f8af06b229cbfc6256cfed60f2bfa3af8b8a659c381
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/tr
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/traceroute
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/traceroute6
+86c51cc79c8f4322f1ebe03ca8b0e07fbae01c4156386580173d1fc6daff2a11faf6b86032b7ac444cc0dadb664b36bd91e8c034d65eed1f4c89d192c58e0cdc opt/busybox/bin/true
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/truncate
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/tty
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/ttysize
@@ -319,29 +321,27 @@ e9e906acc73b99c58bda10836f1d61a20c6e0f8af06b229cbfc6256cfed60f2bfa3af8b8a659c381
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/xzcat
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/yes
0ba78ed3489f83a26b832c6d609fe1c622dbee071505393b831c155e67cd5b537414a24bd375fd611a0982b498910e6cd629ccf251860662385b62ea0421723f opt/busybox/bin/zcat
-86c51cc79c8f4322f1ebe03ca8b0e07fbae01c4156386580173d1fc6daff2a11faf6b86032b7ac444cc0dadb664b36bd91e8c034d65eed1f4c89d192c58e0cdc opt/busybox/bin/true
-ec5be98723cd85f163896ae6f2cdbf5b1ec20fc76ad67f4ee3e1f418429b9438fec3776f30c22527cde2190ea0db02fac487d315ec007b2a6023f2d10fb1feb7 opt/busybox/bin/false
-e429c0782bc6aff465f47eaa70371a1259e44f4b4042ee77de49692fbe7751524cd4f3128ebbb61453b7dfd9dd85aaf0203e209e317b12101b23ab1ed74c1017 opt/lvm/etc/lvm/lvm.conf
+3a2134ba6f549c7ca2a275275c0fc82c339a3f25bfcf9ed6723a186d134ca228189a9898521c74d78ea7f8633b204720cf54b486d3742291930e83e81a9fe457 opt/cryptsetup/bin/cryptsetup
+db052a75d090c2bcce53d1a6b8c7b951def243847de21ee27e54d6b780a7711339521be5053711d618bb817a79d131ff351f82fe70584a23a8eb35665acae6c6 opt/cryptsetup/bin/veritysetup
+a955b84a4ff6553ef40016bbcd7a80b84cd45a59fb3d27435fac24f5c2e593d83aa4a767ba2e72a345a1bd46661cf89149e5119112adad7789cbd7214ea32571 opt/cryptsetup/include/libcryptsetup.h
+3e56d1ef6ca750a5ba5fc71e7be70b50bc7d79675e0518d78cdc0d204439b7aeeea2e8f7cb311f583283afd5d19957c7d4dc3d405d16e993e1f535c83a2dcf8a opt/cryptsetup/lib/libcryptsetup.a
+bc23811daac3c7eccc57e6c8efff3df80ef7afa9f39542e3ab36e10242945072a99fbdeb48639e9d61f86c79560a1f2097ef57c47435ee72ddadd5a6d00928da opt/cryptsetup/lib/pkgconfig/libcryptsetup.pc
+a1dd236953f870a32f7d4157ef4882d82797098964dc5d4e02c2af87f197882b794fa4f67e23eb2d4dcd53d720cb7a79c6ad80338e2d58d899d6acbf7a3a5bb2 opt/lvm/bin/blkdeactivate
+2e7eadc08d395c0cba67052d2710df2eb01cde9502c6c71cd2d86e72a5fdaf588356f4a4adf30d45a8462698ee8be1fd44158b2eb6b88c9a3b15cad9d84a0f98 opt/lvm/bin/dmsetup
+252c6db8d15b04619c224d92134b12c6d53c1862785ad2ef53d46adc82994528bbb5592cae759c4bf2181ee81e6164b59914db7bcca183c86c0af03e50ab3683 opt/lvm/bin/fsadm
+b5a818daae531035ddfeab509f0cf3c81161ad8dcc09986149d51b23099ef6b6e9bd43a1951d26027cafa5e337550d7be7cc76387879336cdee7520568f6e85f opt/lvm/bin/lvm
+ddddf5ebee998600f667ef88dc798d3da8f28e26af850d016c2b302ba60a801cf2366b72d01b32e75ebf7249d6c70f2b0cb6a2d3f04f16c21586353246b052b7 opt/lvm/bin/lvmconf
+e8f6e7f48ed41dde976fd22713681fec0467fc2763b5ce38f215fa64e96d9317decd1da353d3bb6fb94ff9cb8f309e070f25099d49e37356032eddd4292df393 opt/lvm/bin/lvmdump
+6a79d8ea1fa61dca55c53d7481c8aac7f44839642e45a539d8897a2dc1f56f3bf98b3ae07c34ae8491366af85d43c79bf01d3a86da916820343a44086b58ff45 opt/lvm/etc/lvm/lvm.conf
4b3b0b425ed91b9d075a9ec16cac1547065ce7fe27401cd1ec8b3b799249926a8bd2a92c09e55ab7b76d06ab8c0d93df8fff40b32c85b75f9913384aabd2f3d4 opt/lvm/etc/lvm/lvmlocal.conf
-38d87c6d79c70c2a793c0400f56e9854578321c11de3c823809ebe33aa10f8e2bc8d24fa03185ecc3ad840f429441a4cdc24bdaeb84f807ee3bd2af96a176c45 opt/lvm/etc/lvm/profile/command_profile_template.profile
-035809a23cb5bf94b25b97d7c0866b9a0182eae6d24792bffa32d36b34773572c9ac19d66f095f3b0349ff1fe1776c3e84ffb46f3fc27f848c0b413229c4ec08 opt/lvm/etc/lvm/profile/metadata_profile_template.profile
38155af5cf6c15d8057ae886fb9b3779e13364211125d0d707dd30a4c4cf4ce5298c59aef6281846b55747626e7f55d6e34e2452d0a06effb1ebaac4b609870d opt/lvm/etc/lvm/profile/cache-mq.profile
45aed6017d864f24a9a0f199b398db5284f34ed71e81f17c41ebf0093e9a8c590e92fa825bc423afafad5fea534b152a088786ae8c25cc42dda38dd9605ffd55 opt/lvm/etc/lvm/profile/cache-smq.profile
+38d87c6d79c70c2a793c0400f56e9854578321c11de3c823809ebe33aa10f8e2bc8d24fa03185ecc3ad840f429441a4cdc24bdaeb84f807ee3bd2af96a176c45 opt/lvm/etc/lvm/profile/command_profile_template.profile
+fda68a5c1b3432dac6e8702c2c7c2296cea486795b72195b4f73b28e47189b9f74f4575743f91251e518b20b7d730b2524b0a0b666e207d305b870afa09850df opt/lvm/etc/lvm/profile/lvmdbusd.profile
+035809a23cb5bf94b25b97d7c0866b9a0182eae6d24792bffa32d36b34773572c9ac19d66f095f3b0349ff1fe1776c3e84ffb46f3fc27f848c0b413229c4ec08 opt/lvm/etc/lvm/profile/metadata_profile_template.profile
04ca3406686423e601ba14c3fca200fe1cfb5bfcf683e8e50a289006156415a2168fac519b37bc355afddfc2842277a949c048b75cc5c20eabe446392eb039cb opt/lvm/etc/lvm/profile/thin-generic.profile
121a2a030c16e1b2286a8e4219a809e4c407b97b9dbabea54471069022fe7b93a1f25e53b944c007c6845eb861f7d0cdb0d2cb64509a284dc955c542cc3965f8 opt/lvm/etc/lvm/profile/thin-performance.profile
-fda68a5c1b3432dac6e8702c2c7c2296cea486795b72195b4f73b28e47189b9f74f4575743f91251e518b20b7d730b2524b0a0b666e207d305b870afa09850df opt/lvm/etc/lvm/profile/lvmdbusd.profile
-1e19265151506dd0048d4bf084054cff60e68232de3a69d21941a0dcf0720e4c418acfb30985f2620d11b1b77c1405677041d4d05f21f94a74bae0f8d6dd6b47 opt/lvm/lib/libdevmapper.so.1.02
-e32616720466559a75463eb51953691ddfecfcadcaf162977d4e0f1bbcb4257dcea6b8f743f0f9534e69ff4762da70b639744048d5b5f49576f046481fd40980 opt/lvm/lib/libdevmapper.a
f90036924837ee2e587cf7bccbabb3d1ad02578dfe4ef19f8523c2f2e9d18c4c43cb807a333c11fc8cdcf3948873db95faaf1539374c0795eb7fe6e70eb3fe12 opt/lvm/include/libdevmapper.h
-8766eb6def3aeff91f7d78177526cdf1cab591b4258be69bdf794c8f10e1c253c3b31cd52dd6797a0e211d4c70969f6c811adf2c9f6262490fb563367827074a opt/lvm/bin/lvm
-2e7eadc08d395c0cba67052d2710df2eb01cde9502c6c71cd2d86e72a5fdaf588356f4a4adf30d45a8462698ee8be1fd44158b2eb6b88c9a3b15cad9d84a0f98 opt/lvm/bin/dmsetup
-e8f6e7f48ed41dde976fd22713681fec0467fc2763b5ce38f215fa64e96d9317decd1da353d3bb6fb94ff9cb8f309e070f25099d49e37356032eddd4292df393 opt/lvm/bin/lvmdump
-ddddf5ebee998600f667ef88dc798d3da8f28e26af850d016c2b302ba60a801cf2366b72d01b32e75ebf7249d6c70f2b0cb6a2d3f04f16c21586353246b052b7 opt/lvm/bin/lvmconf
-252c6db8d15b04619c224d92134b12c6d53c1862785ad2ef53d46adc82994528bbb5592cae759c4bf2181ee81e6164b59914db7bcca183c86c0af03e50ab3683 opt/lvm/bin/fsadm
-a1dd236953f870a32f7d4157ef4882d82797098964dc5d4e02c2af87f197882b794fa4f67e23eb2d4dcd53d720cb7a79c6ad80338e2d58d899d6acbf7a3a5bb2 opt/lvm/bin/blkdeactivate
-3e56d1ef6ca750a5ba5fc71e7be70b50bc7d79675e0518d78cdc0d204439b7aeeea2e8f7cb311f583283afd5d19957c7d4dc3d405d16e993e1f535c83a2dcf8a opt/cryptsetup/lib/libcryptsetup.a
-bc23811daac3c7eccc57e6c8efff3df80ef7afa9f39542e3ab36e10242945072a99fbdeb48639e9d61f86c79560a1f2097ef57c47435ee72ddadd5a6d00928da opt/cryptsetup/lib/pkgconfig/libcryptsetup.pc
-a955b84a4ff6553ef40016bbcd7a80b84cd45a59fb3d27435fac24f5c2e593d83aa4a767ba2e72a345a1bd46661cf89149e5119112adad7789cbd7214ea32571 opt/cryptsetup/include/libcryptsetup.h
-3a2134ba6f549c7ca2a275275c0fc82c339a3f25bfcf9ed6723a186d134ca228189a9898521c74d78ea7f8633b204720cf54b486d3742291930e83e81a9fe457 opt/cryptsetup/bin/cryptsetup
-db052a75d090c2bcce53d1a6b8c7b951def243847de21ee27e54d6b780a7711339521be5053711d618bb817a79d131ff351f82fe70584a23a8eb35665acae6c6 opt/cryptsetup/bin/veritysetup
+e32616720466559a75463eb51953691ddfecfcadcaf162977d4e0f1bbcb4257dcea6b8f743f0f9534e69ff4762da70b639744048d5b5f49576f046481fd40980 opt/lvm/lib/libdevmapper.a
+1e19265151506dd0048d4bf084054cff60e68232de3a69d21941a0dcf0720e4c418acfb30985f2620d11b1b77c1405677041d4d05f21f94a74bae0f8d6dd6b47 opt/lvm/lib/libdevmapper.so.1.02
158a96992f1c5c64aa4888332eef619decb085ca3812b1eb00b3ded53700c951a4b3758f416d5c6f0eefdb285632a65e4fa085900e3ec8ea658265efac52c33c opt/pv/bin/pv
diff --git a/gen-checksums b/gen-checksums
@@ -7,5 +7,7 @@ sort <checksums/boot-image.lst.tmp >checksums/boot-image.lst.new || exit $?
rm checksums/boot-image.lst.tmp || exit $?
mv checksums/boot-image.lst.new checksums/boot-image.lst || exit $?
-( cd boot-image && find opt -type f -exec sha512sum '{}' + ) >checksums/sabotage-opt.sha512.new || exit $?
+( cd boot-image && find opt -type f -exec sha512sum '{}' + ) >checksums/sabotage-opt.sha512.tmp || exit $?
+sort -k 2 <checksums/sabotage-opt.sha512.tmp >checksums/sabotage-opt.sha512.new || exit $?
+rm checksums/sabotage-opt.sha512.tmp || exit $?
mv checksums/sabotage-opt.sha512.new checksums/sabotage-opt.sha512 || exit $?
diff --git a/sabotage-pkg/lvm b/sabotage-pkg/lvm
@@ -0,0 +1,58 @@
+[mirrors]
+ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.168.tgz
+http://mirrors.kernel.org/sources.redhat.com/lvm2/releases/LVM2.2.02.168.tgz
+ftp://mirrors.kernel.org/sources.redhat.com/lvm2/releases/LVM2.2.02.168.tgz
+
+[vars]
+filesize=2159438
+sha512=ebff909e1c81919967373c55c7a95ba13ef4e0536b8ef1c28ed7e1c1eb9b9fd406a649d93b141822b24675ebece5a722247737c4e869fb7fb5eeb881a7f9102d
+pkgver=5
+
+[deps]
+kernel-headers
+
+[deps.host]
+9base
+
+[build]
+for i in stdio mallinfo libdir-config mlockall-config ; do
+ echo lvm2-$i.patch
+ patch -p1 < "$K"/lvm2-$i.patch
+done
+
+[ -n "$CROSS_COMPILE" ] && \
+ xconfflags="--host=$($CC -dumpmachine)"
+
+./configure -C --prefix="$butch_prefix" $xconfflags \
+ --sbindir="$butch_prefix"/bin \
+ --with-optimisation="$optcflags $optldflags" \
+ --disable-readline \
+ --with-thin=internal \
+ --with-thin-check=/sbin/thin_check \
+ --with-thin-dump=/sbin/thin_dump \
+ --with-thin-repair=/sbin/thin_repair \
+ --with-thin-restore=/sbin/thin_restore \
+ --with-cache=internal \
+ --with-cache-check=/sbin/cache_check \
+ --with-cache-dump=/sbin/cache_dump \
+ --with-cache-repair=/sbin/cache_reparir \
+ --with-cache-restore=/sbin/cache_restore \
+ --with-default-locking-dir=/run/lock/lvm \
+ --enable-static_link
+
+# since musl's BRE regex engine is now sufficiently glibc-compatible,
+# the versioning nonsense in the .export.sym linker script is now correctly
+# generated. needs rebuild of busybox against latest musl.
+
+# there is something fishy with install-sh, however it seems to work anyway:
+# http://www.redhat.com/archives/linux-lvm/2013-January/msg00038.html
+
+# make doesnt work, only make install does
+make -j$MAKE_THREADS DESTDIR="$butch_install_dir" install
+# replace dynamic binaries with static versions
+dest="$butch_install_dir""$butch_prefix"
+for i in lvm dmsetup ; do
+mv "$dest"/sbin/$i.static "$dest"/bin/"$i"
+ln -sf $i "$dest"/bin/"$i".static
+done
+rm -rf "$dest"/sbin