wendellchao / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

Allow enforcing postinstall in offline root mode #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

we're in the progress of switching the OpenWrt build system to use opkg on the 
host system, this requires some features not yet present in the upstream 
version.

Our package postinstall scripts are written in a way that allows executing them 
on the hostsystem (non native architecture) and we rely on that for offline 
root installation, e.g. to enable initscripts or patch config files.

I attached a patch that implements a "--force-postinstall" option which lets 
opkg execute the package postinstall script in offline root mode.

Please consider for inclusion.

Original issue reported on code.google.com by goo...@wwsnet.net on 12 Sep 2010 at 10:27

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by goo...@wwsnet.net on 13 Sep 2010 at 12:25

GoogleCodeExporter commented 9 years ago
Added in r559

Original comment by goo...@wwsnet.net on 13 Sep 2010 at 1:16