[pkg-fso-maint] [Fwd: patch to install.sh (Debian at FreeRunner)]
steffen_moeller at gmx.de
Wed Feb 4 17:37:13 UTC 2009
Luca Capello wrote:
>> I just ran through install.sh and did the following changes.
> If you provide Git patches (with e.g. `git format-patch origin/master`),
> one per each change, it would be less work for us and your name would
> directly appear on `git log` output :-)
for this special script, a git patch is probably not ultimately required. I was not aware
of the git repository and will do so next time, so the myriads of git loggers will be
>> The description of what the apt target is doing I found too difficult
>> (I understood you'd prepare some kind of proxy or so) - maybe you can
>> come up with something even better.
> It is difficult to find a better wording, because IMHO the actual one is
> correct: it not only populates /etc/apt/sources.lists, but also sets
> other APT-related stuff (APT::Install-Recommends  and pkg-fso-keyring
> for SecureAPT ).
> We can reflect what is printed when starting/ending this stage,
> i.e. changing the description to "Configure APT", is it better?
Much better in my view. Many thanks.
>> The final bit seems to be syntactically problematic.
>> @@ -800,7 +799,7 @@
>> # Stage unmount
>> echo "Unmounting microSD card partitions"
>> -if ! [ "$SINGLE_PART" = "true" ]; then
>> +if [ "$SINGLE_PART" != "true" ]; then
>> umount $INST_DIR/boot
>> umount $INST_DIR
> I, as well, prefer your syntax over the existing one and it is also
> present at line 605: both corrected . The rationale is that having a
> positive test is always preferable that testing for a non-positive one.
I got a syntax error in that region and thought that this was not correct, but it probably
is as I have now learned. I'll try again for my next SD card.
More information about the pkg-fso-maint