Meta packages with the Luggage

57 views
Skip to first unread message

Andrew Marks

unread,
Nov 9, 2015, 5:18:26 PM11/9/15
to The Luggage
Greetings

I wanted to reach out the the group about using meta packages with the the Luggage. I am using make profile (https://github.com/timsutton/make-profile-pkg) to package a global wireless profile and device level profile to blacklist the El Capitan app only. I have the profiles configured and test as single pkg files.  My plan is to push out the metapkg in Munki.

What I am trying to do is figure how to make a meta package within the luggage.  I did find examples using  InstallPKG, I would prefer not install any additional software.

I am very interested to see what other people are doing 

Regards Andrew

Gregory Neagle

unread,
Nov 9, 2015, 5:48:32 PM11/9/15
to the-l...@googlegroups.com
If using The Luggage for this task is not a hard requirement:

productbuild —package /path/to/wireless_mobileconfig.pkg —package /path/to/blacklist_mobileconfig.pkg /path/to/combined_mobileconfigs.pkg

-Greg

--
You received this message because you are subscribed to the Google Groups "The Luggage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to the-luggage...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Marks

unread,
Nov 9, 2015, 5:54:31 PM11/9/15
to the-l...@googlegroups.com
Thanks Greg do I need to add a postinstall file for this?
You received this message because you are subscribed to a topic in the Google Groups "The Luggage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/the-luggage/1p-mDfwi2HQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to the-luggage...@googlegroups.com.

Gregory Neagle

unread,
Nov 9, 2015, 5:58:59 PM11/9/15
to the-l...@googlegroups.com
Why? For what purpose?

Andrew Marks

unread,
Nov 9, 2015, 6:06:05 PM11/9/15
to the-l...@googlegroups.com
I didn't think so but I wanted to do a sanity check thanks again

Andrew

Andrew Marks

unread,
Nov 10, 2015, 2:24:44 PM11/10/15
to The Luggage
Hello again Gregory, 

Can you give me some guidance on what the rule would be for product build in the make file?
           




On Monday, November 9, 2015 at 6:06:05 PM UTC-5, Andrew Marks wrote:
I didn't think so but I wanted to do a sanity check thanks again

Andrew

On Nov 9, 2015, at 5:58 PM, Gregory Neagle <gregn...@mac.com> wrote:

Why? For what purpose?

On Nov 9, 2015, at 2:52 PM, Andrew Marks <andyse...@gmail.com> wrote:

Thanks Greg do I need to add a postinstall file for this?

On Nov 9, 2015, at 5:48 PM, Gregory Neagle <gregn...@mac.com> wrote:

If using The Luggage for this task is not a hard requirement:

productbuild —package /path/to/wireless_mobileconfig.pkg —package /path/to/blacklist_mobileconfig.pkg /path/to/combined_mobileconfigs.pkg

-Greg
On Nov 9, 2015, at 2:18 PM, Andrew Marks <andyse...@gmail.com> wrote:

Greetings

I wanted to reach out the the group about using meta packages with the the Luggage. I am using make profile (https://github.com/timsutton/make-profile-pkg) to package a global wireless profile and device level profile to blacklist the El Capitan app only. I have the profiles configured and test as single pkg files.  My plan is to push out the metapkg in Munki.

What I am trying to do is figure how to make a meta package within the luggage.  I did find examples using  InstallPKG, I would prefer not install any additional software.

I am very interested to see what other people are doing 

Regards Andrew

--
You received this message because you are subscribed to the Google Groups "The Luggage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to the-luggage+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "The Luggage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/the-luggage/1p-mDfwi2HQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to the-luggage+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "The Luggage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to the-luggage+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "The Luggage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/the-luggage/1p-mDfwi2HQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to the-luggage+unsubscribe@googlegroups.com.

Gregory Neagle

unread,
Nov 10, 2015, 2:26:40 PM11/10/15
to the-l...@googlegroups.com
Sorry, no. Here’s what I wrote:

On Nov 9, 2015, at 5:48 PM, Gregory Neagle <gregn...@mac.com> wrote:

If using The Luggage for this task is not a hard requirement:

productbuild —package /path/to/wireless_mobileconfig.pkg —package /path/to/blacklist_mobileconfig.pkg /path/to/combined_mobileconfigs.pkg

-Greg



In other words, this solution doesn’t use The Luggage at all.

-Greg

To unsubscribe from this group and stop receiving emails from it, send an email to the-luggage...@googlegroups.com.

Andrew Marks

unread,
Nov 10, 2015, 5:27:16 PM11/10/15
to the-l...@googlegroups.com
Ahh, Thanks!

Why? For what purpose?

To unsubscribe from this group and stop receiving emails from it, send an email to the-luggage...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "The Luggage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/the-luggage/1p-mDfwi2HQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to the-luggage...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "The Luggage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to the-luggage...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "The Luggage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/the-luggage/1p-mDfwi2HQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to the-luggage...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "The Luggage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to the-luggage...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "The Luggage" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/the-luggage/1p-mDfwi2HQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to the-luggage...@googlegroups.com.

Jeremy Reichman

unread,
Nov 11, 2015, 8:51:50 AM11/11/15
to the-l...@googlegroups.com
I don’t recall any specific support for metapackages in Luggage.

If you needed a metapackage, I have in the past built one with a either a Makefile or a script, but it was the very old 10.0ish format (before plists!). The target for that would have to be an OS X version that still supports the oldest folder bundle OS X package format. The goal was to make a single convenient package for home use (i.e. unmanaged computers). It needed to combine packages from an external source along with locally-sourced packages.

If you expected the constituent packages to change enough where automating with a Makefile was important AND you want to combine multiple packages together, you could extend a (Luggage or non-Luggage) Makefile to run the productbuild step. A Makefile is one way to make sure requirements are met before running steps in a process. Luggage is a way to satisfy the requirements (creating a temporary package working directory and subfolders, moving files into it) and produce some output (usually “make pkg”). You can do other things with Makefiles. I’ve had it create pkgsinfo files for Munki, for example (adding a “makepkginfo” step).

Since you’re using Munki, I would consider its built-in support for configuration profiles and import each profile (not a pkg for each profile) individually. Makes things modular.

--
Jeremy
Reply all
Reply to author
Forward
0 new messages