From 8242fb1d09040e92282b9cac13f24317417620ab Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 1 Feb 2021 17:30:20 -0800 Subject: [PATCH] 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 --- nightly.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nightly.sh b/nightly.sh index 1daa0fb..03160a9 100755 --- a/nightly.sh +++ b/nightly.sh @@ -145,6 +145,9 @@ $RSYNCPREFIX compose-partial-copy --arch=aarch64 \ $RSYNCPREFIX rm "$RSYNCTARGET/.composeinfo" $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 if [ ! -d "$RSYNCALTTARGET" ]; then mkdir "$RSYNCALTTARGET" @@ -160,6 +163,9 @@ $RSYNCPREFIX compose-partial-copy --arch=armhfp --arch=x86_64 \ $RSYNCPREFIX rm "$RSYNCALTTARGET/.composeinfo" $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 if [ ! -d "$RSYNCSECTARGET" ]; then mkdir "$RSYNCSECTARGET" @@ -186,6 +192,9 @@ $RSYNCPREFIX compose-partial-copy --arch=aarch64 \ $RSYNCPREFIX rm "$RSYNCSECTARGET/.composeinfo" $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 # Set the umask to so directories can get group write # https://pagure.io/releng/issue/8811