<div dir="ltr">Hello,<div><br></div><div>I've added the mirrors feature to the package google-android-m2repository-installer package[1]</div><div>Moving to other google-android-*-installer packages.</div><div><br></div><div>[1]: <a href="https://anonscm.debian.org/cgit/android-tools/google-android-m2repository-installer.git/commit/?id=1ddc1563df3ff2efcc3f591fe07ecb205b8928df">https://anonscm.debian.org/cgit/android-tools/google-android-m2repository-installer.git/commit/?id=1ddc1563df3ff2efcc3f591fe07ecb205b8928df</a><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><i>Mouaad Aallam</i></div></div></div>
<br><div class="gmail_quote">On Mon, Jul 4, 2016 at 7:38 AM, Hans-Christoph Steiner <span dir="ltr"><<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Ah right, good catch, source.properties needs to be listed in the .list<br>
file.<br>
<br>
The files that are included using the standard debian processes will<br>
automatically be added to the list.  You can just look at the .list file<br>
and make sure all of the files that the package installs are listed.  Or<br>
even better, check programmatically.  For example, if you uninstall the<br>
package, are there any files that the package installed that were not<br>
removed?<br>
<br>
.hc<br>
<br>
Mouaad Aallam:<br>
<span class="">> I found it, it's the postinit script.<br>
> one thing: should the content of doc dir be in the info list ?<br>
> `find ${DOC_DIR} | sort >><br>
> /var/lib/dpkg/info/google-${PKG_NAME}-installer.list`<br>
><br>
</span>> *Mouaad Aallam*<br>
<div class="HOEnZb"><div class="h5">><br>
> On Thu, Jun 30, 2016 at 1:28 PM, Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>><br>
> wrote:<br>
><br>
>><br>
>><br>
>> Mouaad Aallam:<br>
>>>><br>
>>>> And another idea for improvement would be to make `wget` run as the<br>
>>>> 'nobody' user, so that would mean something like:<br>
>>>><br>
>>>>    install -d -m0700 --owner nobody $(DL_DIR)<br>
>>>><br>
>>>> and<br>
>>>><br>
>>>>    su nobody -s /bin/sh -c "wget --continue $(PKG_SOURCE_URL)"<br>
>>>><br>
>>><br>
>>> changing this not that simple after all, the debian/install (i think)<br>
>>> creates the folder (to copy makefile and sha1) as root, before the postrm<br>
>>> script (obviously), i will look for a way to tweak this<br>
>>><br>
>><br>
>> (keeping the list in CC)<br>
>><br>
>> That install command, when run as root, should set the permissions<br>
>> properly.<br>
>><br>
>> .hc<br>
>><br>
>><br>
><br>
<br>
</div></div></blockquote></div><br></div>