diff --git a/Readme.md b/Readme.md index 4b10552..c208828 100644 --- a/Readme.md +++ b/Readme.md @@ -178,6 +178,17 @@ Video background for Plasma 4/KDE4 desktop environment. FORMAT: Arch Linux PKGBUILD script + patch file. +**magiclantern-bootablecard** +-------------- + +Add Canon's boot flag into a SD card, as required by Magic Lantern firmware. Original source code [here](https://bitbucket.org/hudson/magic-lantern/src/11f405b62b31/contrib/make-bootable/?at=crop_rec_4k) + +The bash script file has been modified to be more user-friendly. You can use a custom mount point, and the script asks you confirmation about the correct path before the script execution starts. + +Usage: once you've inserted a SD card into your computer, use 'ml-bootablecard' command to add the boot flag. + +FORMAT: Arch Linux PKGBUILD script + custom source files. + **mlv2dng** -------------- diff --git a/magiclantern-bootablecard/PKGBUILD b/magiclantern-bootablecard/PKGBUILD new file mode 100644 index 0000000..68de51a --- /dev/null +++ b/magiclantern-bootablecard/PKGBUILD @@ -0,0 +1,24 @@ +pkgname=magiclantern-bootablecard +pkgver=1 +pkgrel=1 +pkgdesc='Extracts and converts images in MS Windows(R) icon and cursor files.' +arch=('i686' 'x86_64') +license=('GPL') +url='https://bitbucket.org/hudson/magic-lantern/src/tip/contrib/make-bootable/' +depends=('exfat-dkms-git' 'coreutils' 'exfat-utils-nofuse' 'util-linux') +makedepends=('gcc') +source=(magiclantern-bootablecard.tar.gz) +md5sums=('50a78cd16d2d05b78c0273fe53a59236') + +build() { + gcc exfat_sum.c -I$srcdir/modules/lua/dietlibc/include/ -o $srcdir/exfat_sum +} + +package() { + mkdir -p $pkgdir/usr/bin/ + install -m755 $srcdir/{make_bootable.sh,exfat_sum} $pkgdir/usr/bin/ + mv $pkgdir/usr/bin/make_bootable.sh $pkgdir/usr/bin/ml-bootablecard + chmod +x $pkgdir/usr/bin/ml-bootablecard +} + + diff --git a/magiclantern-bootablecard/magiclantern-bootablecard.tar.gz b/magiclantern-bootablecard/magiclantern-bootablecard.tar.gz new file mode 100644 index 0000000..0bf248e Binary files /dev/null and b/magiclantern-bootablecard/magiclantern-bootablecard.tar.gz differ