Make package normal

This commit is contained in:
aheirman 2021-02-04 18:33:58 +01:00
parent 18bb7ee1a9
commit 649b66265b
2 changed files with 6 additions and 5 deletions

View file

@ -5,20 +5,21 @@ fetch() {
curl -L "https://github.com/owenson/tiny-linux-bootloader/archive/master.tar.gz" -o $pkgname-$pkgver.tar.xz curl -L "https://github.com/owenson/tiny-linux-bootloader/archive/master.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz tar -xf $pkgname-$pkgver.tar.xz
cd $pkgname-$pkgver cd $pkgname-$pkgver
patch build.sh /lazybox/patches/tiny-linux-bootloader-build patch -p1 < ../../build.patch
} }
package() { package() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
mkdir /tiny-linux-bootloader mkdir /tiny-linux-bootloader
CURR_DIR=$(pwd) CURR_DIR=$(pwd)
cd /lazybox
cd ./../../../../
./geninitrd.sh ./geninitrd.sh
cd $CURR_DIR cd $CURR_DIR
./build.sh ./build.sh
cd /lazybox cd ./../../../../
./createimg.sh ./createimg.sh
} }