From 649b66265be4253bd4b2e0bf1ae08739f02f244e Mon Sep 17 00:00:00 2001 From: aheirman <48590738+aheirman@users.noreply.github.com> Date: Thu, 4 Feb 2021 18:33:58 +0100 Subject: [PATCH] Make package normal --- .../tiny-linux-bootloader/build.patch | 0 pkgs/tiny-linux-bootloader/build.sh | 11 ++++++----- 2 files changed, 6 insertions(+), 5 deletions(-) rename patches/tiny-linux-bootloader-build => pkgs/tiny-linux-bootloader/build.patch (100%) 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 }