[Android-tools-devel] Google Android NDK Installer Package

Hans-Christoph Steiner hans at at.or.at
Mon Jul 4 07:38:12 UTC 2016


Ah right, good catch, source.properties needs to be listed in the .list
file.

The files that are included using the standard debian processes will
automatically be added to the list.  You can just look at the .list file
and make sure all of the files that the package installs are listed.  Or
even better, check programmatically.  For example, if you uninstall the
package, are there any files that the package installed that were not
removed?

.hc

Mouaad Aallam:
> I found it, it's the postinit script.
> one thing: should the content of doc dir be in the info list ?
> `find ${DOC_DIR} | sort >>
> /var/lib/dpkg/info/google-${PKG_NAME}-installer.list`
> 
> *Mouaad Aallam*
> 
> On Thu, Jun 30, 2016 at 1:28 PM, Hans-Christoph Steiner <hans at at.or.at>
> wrote:
> 
>>
>>
>> Mouaad Aallam:
>>>>
>>>> And another idea for improvement would be to make `wget` run as the
>>>> 'nobody' user, so that would mean something like:
>>>>
>>>>    install -d -m0700 --owner nobody $(DL_DIR)
>>>>
>>>> and
>>>>
>>>>    su nobody -s /bin/sh -c "wget --continue $(PKG_SOURCE_URL)"
>>>>
>>>
>>> changing this not that simple after all, the debian/install (i think)
>>> creates the folder (to copy makefile and sha1) as root, before the postrm
>>> script (obviously), i will look for a way to tweak this
>>>
>>
>> (keeping the list in CC)
>>
>> That install command, when run as root, should set the permissions
>> properly.
>>
>> .hc
>>
>>
> 



More information about the Android-tools-devel mailing list