mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-01 02:27:58 +00:00
Recover "Support SONiC Reproduceable Build-debian/pip/web packages (#6255)
* Revert "Revert "Support SONiC Reproduceable Build-debian/pip/web packages (#5718)"" This reverts commit17497a65e3. * Revert "Revert "Remove unnecessary sudo authority in build Makefile (#6237)"" This reverts commit163b7111b5.
This commit is contained in:
12
scripts/collect_host_image_version_files.sh
Executable file
12
scripts/collect_host_image_version_files.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
TARGET=$1
|
||||
FILESYSTEM_ROOT=$2
|
||||
VERSIONS_PATH=$TARGET/versions/host-image
|
||||
|
||||
mkdir -p $VERSIONS_PATH
|
||||
|
||||
sudo LANG=C chroot $FILESYSTEM_ROOT post_run_buildinfo
|
||||
|
||||
cp -r $FILESYSTEM_ROOT/usr/local/share/buildinfo/pre-versions $VERSIONS_PATH/
|
||||
cp -r $FILESYSTEM_ROOT/usr/local/share/buildinfo/post-versions $VERSIONS_PATH/
|
||||
Reference in New Issue
Block a user