[Dev] Rework of the ARM installation guide

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Fri May 4 07:56:57 GMT 2018


On Wed, 2 May 2018 00:38:02 +0100
Josh Branning <lovell.joshyyy at gmail.com> wrote:

> For instance something like this, but maybe a bit better written?
> 
> #!/bin/bash
> #fill in these variables
> uboot_package_name="uboot4extlinux-a10-olinuxino-lime"
> drive="/dev/mmcblk0"
> ext_partition="/dev/mmcblk0p1"
> 
> #script starts here
> mkdir workdir
> cd workdir
> wget --content-disposition 
> "https://www.parabola.nu/packages/libre/armv7h/${uboot_package_name}/download/"
> tar -xf uboot4extlinux-*
> cp -a -n boot "${ext_partition}"
> chmod +x ./.INSTALL
> source ./.INSTALL
> echo "N" | flash_uboot | while read -r line; do if [ "$(echo $line |
> cut -c 1-4)" == "# dd" ]; then $(echo $line | cut -c 3- | sed -e 
> 's/\/boot/boot/g' | sed -e "s|\/dev\/mmcblk0|${drive}|g"); fi; done
The issue here is that no signatures have been verified.

In order to verify signatures and be able to easily add support for
other host distributions such as Trisquel (which doesn't have pacman
but does have chroot), I think it's better to do that with chroot /
arch-chroot and pacman -S uboot4extlinux-a10-olinuxino-lime

Denis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.parabola.nu/pipermail/dev/attachments/20180504/5179cca3/attachment.sig>


More information about the Dev mailing list