Currently we aren't hardlinking a lot of content:

aarch64 isn't hardlinked with the rest of primary
rawhide and branched aren't hardlinked together
* other bits more than likely aren't hardlinked.

So, lets try and hardlink content after we sync it here.
This may be too i/o intensive or slow to keep, but we can
try it for a few days and see how bad it is.

Signed-off-by: Kevin Fenzi kevin@scrye.com

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-02-01 17:30:20 -08:00 committed by kevin
parent 1c53ebd0fc
commit 8242fb1d09

View File

@ -145,6 +145,9 @@ $RSYNCPREFIX compose-partial-copy --arch=aarch64 \
$RSYNCPREFIX rm "$RSYNCTARGET/.composeinfo" $RSYNCPREFIX rm "$RSYNCTARGET/.composeinfo"
$RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCTARGET/" --name "$NEWCOMPOSE_ID" $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCTARGET/" --name "$NEWCOMPOSE_ID"
# hardlink content (this will hardlink aarch64 with the other arches)
time hardlink -v "$RSYNCTARGET/.."
# Sync the content to /pub/alt # Sync the content to /pub/alt
if [ ! -d "$RSYNCALTTARGET" ]; then if [ ! -d "$RSYNCALTTARGET" ]; then
mkdir "$RSYNCALTTARGET" mkdir "$RSYNCALTTARGET"
@ -160,6 +163,9 @@ $RSYNCPREFIX compose-partial-copy --arch=armhfp --arch=x86_64 \
$RSYNCPREFIX rm "$RSYNCALTTARGET/.composeinfo" $RSYNCPREFIX rm "$RSYNCALTTARGET/.composeinfo"
$RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCALTTARGET/" --name "$NEWCOMPOSE_ID" $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCALTTARGET/" --name "$NEWCOMPOSE_ID"
# hardlink content (this will hardlink aarch64 with the other arches)
time hardlink -v "$RSYNCTARGET/.."
# Sync the content to /pub/fedora-secondary # Sync the content to /pub/fedora-secondary
if [ ! -d "$RSYNCSECTARGET" ]; then if [ ! -d "$RSYNCSECTARGET" ]; then
mkdir "$RSYNCSECTARGET" mkdir "$RSYNCSECTARGET"
@ -186,6 +192,9 @@ $RSYNCPREFIX compose-partial-copy --arch=aarch64 \
$RSYNCPREFIX rm "$RSYNCSECTARGET/.composeinfo" $RSYNCPREFIX rm "$RSYNCSECTARGET/.composeinfo"
$RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCSECTARGET/" --name "$NEWCOMPOSE_ID" $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCSECTARGET/" --name "$NEWCOMPOSE_ID"
# hardlink content (this will hardlink aarch64 with the other arches)
time hardlink -v "$RSYNCTARGET/.."
# sync Silverblue to the unified ostree repo # sync Silverblue to the unified ostree repo
# Set the umask to so directories can get group write # Set the umask to so directories can get group write
# https://pagure.io/releng/issue/8811 # https://pagure.io/releng/issue/8811