... better written could mean adding a function to the .INSTALL files perhaps.

I'll be quiet now.

On 02/05/18 00:38, Josh Branning 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


On 01/05/18 21:17, bill-auger wrote:
isnt that just the typical way of doing it? wasnt that exactly how it
was done before the tarball was released? as i understand, the reason
for the tarball was to make it even easier than the chroot install - so
that one could simple dd and boot it



_______________________________________________
Dev mailing list
Dev@lists.parabola.nu
https://lists.parabola.nu/mailman/listinfo/dev



_______________________________________________
Dev mailing list
Dev@lists.parabola.nu
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to