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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user