Skip to content

Commit b20f115

Browse files
hack: allow specifying custom as a package source
The `custom` (aka `custom-repo`) package source was in our script for a long time before now, but it was not exposed to the build-image script. Update the script so one can "easily" create custom images. Signed-off-by: John Mulligan <[email protected]>
1 parent 8cf7b63 commit b20f115

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/build-image

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,14 @@ DISTROS = [
9999
DEFAULT = "default"
100100
NIGHTLY = "nightly"
101101
DEVBUILDS = "devbuilds"
102-
PACKAGE_SOURCES = [DEFAULT, NIGHTLY, DEVBUILDS]
102+
CUSTOM = "custom"
103+
PACKAGE_SOURCES = [DEFAULT, NIGHTLY, DEVBUILDS, CUSTOM]
103104

104105
PACKAGES_FROM = {
105106
DEFAULT: "",
106107
NIGHTLY: "samba-nightly",
107108
DEVBUILDS: "devbuilds",
109+
CUSTOM: "custom-repo"
108110
}
109111

110112
# SOURCE_DIRS - image source paths

0 commit comments

Comments
 (0)