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

Mouaad Aallam mouaad at aallam.com
Thu Jun 30 14:48:25 UTC 2016


*(Oops forgot to cc)*

---------- Forwarded message ----------
From: Mouaad Aallam <mouaad at aallam.com>
Date: Thu, Jun 30, 2016 at 4:47 PM
Subject: Re: [Android-tools-devel] Google Android NDK Installer Package
To: Hans-Christoph Steiner <hans at at.or.at>


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/android-tools-devel/attachments/20160630/127cad93/attachment.html>


More information about the Android-tools-devel mailing list