Comments (1)
Hi, this is quite simple:
You can create a postinst script by creating a "executable" file named $PTXDIST_WORKSPACE/rules/mypackage.postinst.
A short example content of this file could be:
#!/bin/sh
echo "running postinst script of mypackage"
/sbin/create_a_cool_user.sh
/sbin/call_some_fancy_binaries.sh
exit 0
It is important, that your script always succeed (return 0).
It is called when your rootfs is assembled also this script is called by opkg when upgrading or installing this package via opkg/ipkg to your already running target.
from pfc-howtos.
Related Issues (9)
- Request for example to read and update status of the leds HOT 7
- Adressing behavior in bit access FC HOT 3
- libkbus_register_settings HOT 4
- Wago 750-658 CANBUS HOT 4
- wago 750-8212 image build
- Add a how to for installing docker-compose HOT 6
- Compile error with kbusmodbusslave HOT 4
- Support for NET5 on Wago PLC HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pfc-howtos.