phase2: generate feeds.conf artifact with fixed revision urls
authorJo-Philipp Wich <jo@mein.io>
Wed, 4 Jan 2017 12:44:15 +0000 (13:44 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Jan 2017 12:44:15 +0000 (13:44 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase2/master.cfg

index c711b09deeb7a9db47731f4365a4a9dfe91861bb..ce406449b2d212a42caabd2885c261d34491267f 100644 (file)
@@ -282,6 +282,12 @@ for arch in arches:
                workdir = "build/sdk",
                command = ["make", WithProperties("-j%(jobs)d", jobs=GetNumJobs), "V=s", "IGNORE_ERRORS=n m y", "BUILD_LOG=1", "CONFIG_SIGNED_PACKAGES=y"]))
 
+       factory.addStep(ShellCommand(
+               name = "mkfeedsconf",
+               description = "Generating pinned feeds.conf",
+               workdir = "build/sdk",
+               command = "./scripts/feeds list -s -f > bin/packages/%s/feeds.conf" %(arch[0])))
+
        if gpg_keyid is not None:
                factory.addStep(MasterShellCommand(
                        name = "signprepare",