Go to file
Davlet Panech 044b6c050b archive-dir.sh: rewrite in Python
Old script was slow and didn't preserve hardlinks within the source set.

This script doesn't link files that are identical within the source set,
ie same checksum & attributes, but different inode. It can only link
such files to similar files from older builds. This deficiency will be
addressed in a separate commit.

TESTS
===================
* Manually test various input directories, including:
  - a directory that contains each type of file (regular, devices,
    sockets, symlinks, etc)
  - old index files with spaces in file names
* Given a build with a dozen or so historical builds,
  copied the "aptly" directory and compared timing and destination
  directory size before/after this patch:
  - old script: time=4m13s size=56.0G
  - new script: time=14s   size=6.1G
* Run a Jenkins build that rebuilds one package, and doesn't
  clean/rebuild the ISO. Make sure "archive-misc" works as expected.

Change-Id: Ic8f8931c4143bc355db1ccbad56ed772c0f3081e
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
2025-07-29 15:39:38 -04:00
2025-07-29 15:39:38 -04:00
2022-08-15 14:16:07 -04:00
2022-08-15 14:16:07 -04:00
2022-08-15 13:27:52 -04:00
2022-08-15 14:16:07 -04:00
Description
Jenkins scripts for building StarlingX
1.6 MiB
Languages
Shell 77%
Python 22.1%
Groovy 0.8%