diff --git a/patches/tiny-linux-bootloader-build b/pkgs/tiny-linux-bootloader/build.patch similarity index 100% rename from patches/tiny-linux-bootloader-build rename to pkgs/tiny-linux-bootloader/build.patch diff --git a/pkgs/tiny-linux-bootloader/build.sh b/pkgs/tiny-linux-bootloader/build.sh index 326ba04..78cdc71 100644 --- a/pkgs/tiny-linux-bootloader/build.sh +++ b/pkgs/tiny-linux-bootloader/build.sh @@ -5,20 +5,21 @@ fetch() { curl -L "https://github.com/owenson/tiny-linux-bootloader/archive/master.tar.gz" -o $pkgname-$pkgver.tar.xz tar -xf $pkgname-$pkgver.tar.xz cd $pkgname-$pkgver - patch build.sh /lazybox/patches/tiny-linux-bootloader-build + patch -p1 < ../../build.patch } package() { cd $pkgname-$pkgver mkdir /tiny-linux-bootloader CURR_DIR=$(pwd) - cd /lazybox + + cd ./../../../../ ./geninitrd.sh - + cd $CURR_DIR ./build.sh - - cd /lazybox + + cd ./../../../../ ./createimg.sh }