1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

selftest/package: Add test to ensure sparse files are preserved

Add a new element to the hardlink test to check we also preseve file
sparseness during the packing process. This should ensure we don't regress this
issue again.

(From OE-Core rev: 0a4e6974b49bf68c4a4098d339b5d655e202a3fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2018-08-12 22:29:18 +00:00
parent 5f8a152513
commit 20c8be711f
2 changed files with 7 additions and 0 deletions
@@ -16,4 +16,5 @@ do_install () {
ln ${D}${bindir}/hello ${D}${bindir}/hello2
ln ${D}${bindir}/hello ${D}${bindir}/hello3
ln ${D}${bindir}/hello ${D}${bindir}/hello4
dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M
}