On Wed, 2 May 2018 00:38:02 +0100 Josh Branning <[email protected]> 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.
pgpLVf1ngDJMI.pgp
Description: OpenPGP digital signature
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
