wok-current annotate cookutils/stuff/cook-newest.patch @ rev 25792
Fix openbox menu, label keymap on lxpanel and add miss it translation for tazpkg
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Oct 07 05:55:24 2025 +0000 (2 weeks ago) |
| parents | |
| children |
| rev | line source |
|---|---|
| pascal@21780 | 1 Force the date of the last produced file to the newest package source file. |
| pascal@21780 | 2 Take care or receipt *and* stuff |
| pascal@21780 | 3 --- a/cook |
| pascal@21780 | 4 +++ b/cook |
| pascal@21780 | 5 @@ -879,7 +879,8 @@ |
| pascal@21780 | 6 |
| pascal@21780 | 7 # Build cpio archives. |
| pascal@21780 | 8 action 'Compressing the FS...' |
| pascal@21780 | 9 - find fs -newer $receipt -exec touch -hr $receipt {} \; |
| pascal@21780 | 10 + newest="$(find receipt stuff 2>/dev/null | xargs ls -td | sed q)" |
| pascal@21780 | 11 + find fs -newer $newest -exec touch -hr $newest {} \; |
| pascal@21780 | 12 find fs | cpio -o -H newc --quiet | lzma e fs.cpio.lzma -si |
| pascal@21780 | 13 rm -rf fs |
| pascal@21780 | 14 status |