From 4348e6045ef0d4c06c62733d5e96b3565d5c9732 Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Tue, 11 Jun 2024 18:03:32 +0200 Subject: [PATCH] zfs.headers use system/architecture --- bundles/zfs/metadata.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bundles/zfs/metadata.py b/bundles/zfs/metadata.py index 15b0064..6bd8792 100644 --- a/bundles/zfs/metadata.py +++ b/bundles/zfs/metadata.py @@ -122,10 +122,7 @@ def backup(metadata): 'apt/packages' ) def headers(metadata): - if node.in_group('raspberry-pi'): - arch = 'arm64' - else: - arch = 'amd64' + arch = metadata.get('system/architecture') return { 'apt': {