mtdutils: replace hardcoded /bin/mount in mount.ubifs

This commit is contained in:
Steven Keuchel 2024-10-07 05:13:51 +02:00
parent e459735ee0
commit ca00987003
No known key found for this signature in database
GPG Key ID: 5877DEE97428557F

View File

@ -8,6 +8,7 @@
acl,
libuuid,
lzo,
util-linux,
zlib,
zstd,
}:
@ -30,10 +31,16 @@ stdenv.mkDerivation rec {
acl
libuuid
lzo
util-linux
zlib
zstd
];
postPatch = ''
substituteInPlace ubifs-utils/mount.ubifs \
--replace-fail "/bin/mount" "${util-linux}/bin/mount"
'';
enableParallelBuilding = true;
configureFlags = [