Skip to content

Commit f98db5a

Browse files
committed
Add Signed-By to repositories
1 parent 94fc477 commit f98db5a

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

config/pop-os/22.04.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ GNOME_INITIAL_SETUP_STAMP=21.04
1111
# DEB822 format system repositories, comment out to disable
1212
DEB822:=1
1313
APPS_URI:=http://apt.pop-os.org/proprietary
14+
APPS_KEY=/etc/apt/trusted.gpg.d/pop-keyring-2017-archive.gpg
1415

1516
# Repositories to be present in installed system
1617
RELEASE_URI:=http://apt.pop-os.org/release
18+
RELEASE_KEY=/etc/apt/trusted.gpg.d/pop-keyring-2017-archive.gpg
1719

1820
# Use proposed repositories instead, if requested
1921
ifeq ($(PROPOSED),1)

config/pop-os/24.04.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ GNOME_INITIAL_SETUP_STAMP=21.04
1414
# DEB822 format system repositories, comment out to disable
1515
DEB822:=1
1616
APPS_URI:=http://apt.pop-os.org/proprietary
17+
APPS_KEY=/etc/apt/trusted.gpg.d/pop-keyring-2017-archive.gpg
1718

1819
# Repositories to be present in installed system
1920
RELEASE_URI:=http://apt.pop-os.org/release
21+
RELEASE_KEY=/etc/apt/trusted.gpg.d/pop-keyring-2017-archive.gpg
2022

2123
# Use proposed repositories instead, if requested
2224
ifeq ($(PROPOSED),1)

mk/chroot.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ $(BUILD)/chroot: $(BUILD)/debootstrap
7070
URIS=\"${UBUNTU_MIRROR}\" \
7171
SUITES=\"$(UBUNTU_CODE) $(UBUNTU_CODE)-security $(UBUNTU_CODE)-updates $(UBUNTU_CODE)-backports\" \
7272
COMPONENTS=\"main restricted universe multiverse\" \
73+
SIGNED_BY=\"${UBUNTU_KEY}\" \
7374
/iso/repos.sh"; \
7475
fi
7576

@@ -82,6 +83,7 @@ $(BUILD)/chroot: $(BUILD)/debootstrap
8283
URIS=\"${RELEASE_URI}\" \
8384
SUITES=\"${UBUNTU_CODE}\" \
8485
COMPONENTS=\"main\" \
86+
SIGNED_BY=\"${RELEASE_KEY}\" \
8587
/iso/repos.sh"; \
8688
fi
8789

@@ -108,6 +110,7 @@ $(BUILD)/chroot: $(BUILD)/debootstrap
108110
URIS=\"${APPS_URI}\" \
109111
SUITES=\"${UBUNTU_CODE}\" \
110112
COMPONENTS=\"main\" \
113+
SIGNED_BY=\"${APPS_KEY}\" \
111114
/iso/repos.sh"; \
112115
fi
113116

mk/ubuntu.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ UBUNTU_MIRROR:=http://ports.ubuntu.com/ubuntu-ports
1616
else
1717
$(error unknown DISTRO_ARCH $(DISTRO_ARCH))
1818
endif
19+
UBUNTU_KEY=/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
1920

2021
UBUNTU_COMPONENTS:=\
2122
main \

scripts/repos.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ export LC_ALL=C
1212

1313
# Set up sources file
1414
echo "Creating ${FILENAME} sources file"
15-
echo "X-Repolib-Name: ${NAME}" > ${FILENAME}
16-
echo "Enabled: yes" >> ${FILENAME}
17-
echo "Types: ${TYPES}" >> ${FILENAME}
18-
echo "URIs: ${URIS}" >> ${FILENAME}
19-
echo "Suites: ${SUITES}" >> ${FILENAME}
20-
echo "Components: ${COMPONENTS}" >> ${FILENAME}
15+
echo "X-Repolib-Name: ${NAME}" > "${FILENAME}"
16+
echo "Enabled: yes" >> "${FILENAME}"
17+
echo "Types: ${TYPES}" >> "${FILENAME}"
18+
echo "URIs: ${URIS}" >> "${FILENAME}"
19+
echo "Suites: ${SUITES}" >> "${FILENAME}"
20+
echo "Components: ${COMPONENTS}" >> "${FILENAME}"
21+
echo "Signed-By: ${SIGNED_BY}" >> "${FILENAME}"

0 commit comments

Comments
 (0)