tce-load -i compiletc libbytesize-dev volume_key-dev gobject-introspection-dev mdadm parted-dev util-linux-dev btrfs-progs-dev bash coreutils (mktemp) yaml-dev kmod-dev ndctl-dev https://github.com/storaged-project/libblockdev/releases/download/2.23-1/libblockdev-2.23.tar.gz cd libblockdev-2.23 find . -name configure -type f -exec sed -i 's/ 216/ 173/g' {} \; CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --without-dm --without-kbd Requested 'libudev >= 216' but version of libudev is 173 find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; edit scripts/boilerplate_generator.py #!/usr/local/bin/python make [0m 26.98s] make install libblockdev 2.23 ==================== prefix: /usr/local libdir: ${exec_prefix}/lib libexecdir: ${exec_prefix}/libexec bindir: ${exec_prefix}/bin sbindir: ${exec_prefix}/sbin datadir: ${datarootdir} sysconfdir: ${prefix}/etc localstatedir: /var docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} compiler: gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe cflags: -std=gnu99 cppflags: ldflags: BTRFS plugin: yes Crypto plugin: yes escrow support: yes DM plugin: no dmraid support: yes FS plugin: yes KBD plugin: no Bcache support: yes Loop plugin: yes LVM plugin: yes LVM DBus plugin: yes MDRAID plugin: yes MPath plugin yes NVDIMM plugin: yes Part plugin: yes S390 plugin: no Swap plugin: yes VDO plugin: yes GObject introspection: yes Python 2 bindings: yes Python 3 bindings: yes tools: yes