[maemo-developers] maemo-optify, autobuilder & /opt
From: Marius Vollmer marius.vollmer at nokia.comDate: Fri Nov 6 15:00:05 EET 2009
- Previous message: maemo-optify, autobuilder & /opt
- Next message: maemo-optify, autobuilder & /opt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ext Ed Bartosh <bartosh at gmail.com> writes: > I've discussed this with sbdmock author and we decided to make small > change to sbdmock: New configurable action will be introduced. This > action will be executed by sbdmock between unpacking rootstrap and > installing build-deps. > > For Fremantle we can simply put 'apt-get install maemo-optify' in there. > > I'll try to make this change on weekends and deploy new sbdmock and > devkit in production. Excellent, thanks! > It would be nice If somebody could explain me what should I expect > from maemo-optify in the following cases: Maemo-optify can be invoked in a number of ways. I'll explain what happens when the modified dpkg-buildpackage calls maemo-optify-deb --auto after running ./debian/rules build. > - source package doesn't contain anything /opt specific, binary > package doesn't contain /opt Nothing will be done because debian/optify does not exist, and the default mode is "none". > - source package doesn't contain debian/optify, binary package doesn't > contain /opt Nothing will be done because debian/optify does not exist, and the default mode is "none". > - source package doesn't contain debian/optify, one binary package > doesn't contain /opt, another binary package does Nothing will be done because debian/optify does not exist, and the default mode is "none". > - source package contains debian/optify, binary package contains /opt If debian/optify exists with the contents "auto", then the binary package will be optified with the default heuristic. The default heuristic will not do anything because it detects that the binary package already contains a file or directory called "/opt" and it will explicitly stop because of that. > - source package contains debian/optify, one binary package contains > /opt, another binary package doesn't If debian/optify exists with the contents "auto", then the two packages will be optified separately with the default heuristic. The default heuristic will not do anything for the package that contains "/opt", as described above. For the package that does not contain "/opt", the default heuristic will move ((files and (directories that have the same name as the package)) and are bigger than 2048 bytes) into /opt/maemo/.
- Previous message: maemo-optify, autobuilder & /opt
- Next message: maemo-optify, autobuilder & /opt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]