Join GitHub today
Disable dir_index ext2/3/4 option #469
This reduces indeterminism from filesystem readdir order,
mkdir -p in; for i in $(seq 10) ; do touch in/$i ; done find in/ -type f > unreproducible
Since we usually do not have large directories, it should not slow
Quick testing with
osc co openSUSE:Factory/python-service_identity && cd $_ time osc build --no-service --clean --vm-type=kvm \ --offline --build-opt=--vm-disk-filesystem=ext4
showed that the difference is 0 +-0.2%
Alternative approach is to use a constant hash_seed via
Helps to limit the effect of problems like
We can still find and fix those outside of OBS by having a local revert of this.
btw: does OBS use ext4 to build?