rtrouton / payload-free-package-creator Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Just ran the application for the first time on OS X 10.10. It worked without any problems. Haven't done any extensive testing, but just thought you should know.
It would be nice to customize the version number that is used when creating the package. By default, it is set to zero and cannot be changed, which causes problems when trying to create a payload-free package as an update to a previous payload-free package in Munki.
Here is the PackageInfo from a test package I created:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<pkg-info overwrite-permissions="true" relocatable="false" identifier="com.github.payload_free" postinstall-action="none" version="0" format-version="2" generator-version="InstallCmds-502 (14B25)" auth="root">
<bundle-version/>
<upgrade-bundle/>
<update-bundle/>
<atomic-update-bundle/>
<strict-identifier/>
<relocate/>
<scripts>
<postinstall file="./postinstall"/>
</scripts>
</pkg-info>
Note the version="0"
in line 2.
I am encountering an error at the first step, and the file is never copied to .tmp. Full error message:
The action “Copy Finder Items” encountered an error: “The file “install.sh” couldn’t be saved in the folder “install.sh”.”
These packages that are created with Payload-Free-Package-Creator should be able to be imported into Munki right? This may tie into this now that I am finding it. https://groups.google.com/forum/#!topic/munki-dev/zPNfOTJVwlQ
WARNING: No valid Distribution or PackageInfo found.
Traceback (most recent call last):
File "/usr/local/munki/makepkginfo", line 1148, in
main()
File "/usr/local/munki/makepkginfo", line 1125, in main
if not has_valid_install_critieria(catinfo):
File "/usr/local/munki/makepkginfo", line 396, in has_valid_install_critieria
or catinfo['installer_type'] == 'profile'
KeyError: 'installer_type'
Getting package info failed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.