Diff
1 commit, 3 files changed
+8 -1

Add --nomacboot option
Connie Sieh • 9 years ago  
file modified
+3
@@ -108,6 +108,8 @@

          config.set('pungi', 'lookaside_repos', " ".join(opts.lookaside_repos))

      if opts.no_dvd:

          config.set('pungi', 'no_dvd', "True")

+     if opts.nomacboot:

+         config.set('pungi', 'nomacboot', "True")

      config.set("pungi", "fulltree", str(bool(opts.fulltree)))

      config.set("pungi", "selfhosting", str(bool(opts.selfhosting)))

      config.set("pungi", "nosource", str(bool(opts.nosource)))
@@ -279,6 +281,7 @@

          parser.add_option("--relnotefilere", dest="relnotefilere", type="string",

            action="callback", callback=set_config, callback_args=(config, ),

            help='Which files are the release notes -- GPL EULA')

+         parser.add_option("--nomacboot", action="store_true", dest="nomacboot",           help='disable setting up macboot as no hfs support ')

  

  

          (opts, args) = parser.parse_args()

file modified
+4 -1
@@ -1401,7 +1401,10 @@

  

          # Only supported mac hardware is x86 make sure we only enable mac support on arches that need it

          if self.tree_arch in ['x86_64']:

-             domacboot = True

+             if self.config.getboolean('pungi','nomacboot'):

+                    domacboot = False

+             else:

+                    domacboot = True

          else:

              domacboot = False

  

file modified
+1
@@ -52,3 +52,4 @@

          self.set('pungi', 'lookaside_repos', '')

          self.set('pungi', 'resolve_deps', "True")

          self.set('pungi', 'no_dvd', "False")

+         self.set('pungi', 'nomacboot', "False")