moving packages

This commit is contained in:
Ella-0 2021-09-26 15:18:58 +00:00
parent 815c729478
commit 41fc569409
20 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- bsect.asm
+++ bsect.asm
@@ -15,7 +15,6 @@
; You should have received a copy of the GNU General Public License
; along with this program. If not, see <http://www.gnu.org/licenses/>.
-%define DEBUG
%include "config.inc"
[BITS 16]

View file

@ -0,0 +1,15 @@
--- build.sh
+++ build.sh
@@ -16,9 +16,9 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
INPUT="bsect.asm"
-OUTPUT="disk"
-KERN="./barebones"
-RD="./big.init"
+OUTPUT="/tiny-linux-bootloader/disk"
+KERN="/iglunix/isoout/vmlinuz"
+RD="/iglunix/isoout/initramfs.img"
#size of kern + ramdisk
K_SZ=`stat -c %s $KERN`

View file

@ -0,0 +1,33 @@
pkgname=tiny-linux-bootloader
pkgver=master
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 -p1 < ../../build.patch
patch -p1 < ../../bsect.patch
patch -p1 < ../../remove-dead.patch
}
package() {
cd $pkgname-$pkgver
rm -rf /tiny-linux-bootloader
mkdir /tiny-linux-bootloader
CURR_DIR=$(pwd)
cd ./../../../../
./geninitrd.sh
cd $CURR_DIR
./build.sh
cd ./../../../../
./createimg.sh
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}

View file

@ -0,0 +1,5 @@
# information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
/dev/sda1 / ext4 rw,relatime 0 1

View file

@ -0,0 +1,11 @@
--- a/bsect.asm
+++ b/bsect.asm
@@ -135,7 +135,7 @@
.loop:
cmp edx, 127*512
jl loader.part_2
- jz loader.finish
+; jz loader.finish
mov ax, 127 ;count
xor bx, bx ; offset