Merge branch 'main' of github.com:iglunix/iglunix
This commit is contained in:
commit
5b83ee5c80
6 changed files with 110 additions and 4 deletions
11
createimg.sh
11
createimg.sh
|
@ -19,11 +19,11 @@ ls -al iglunix.img -h
|
||||||
dd if=/dev/zero bs=1 count=0 seek=1G of=iglunix.img
|
dd if=/dev/zero bs=1 count=0 seek=1G of=iglunix.img
|
||||||
ls -al iglunix.img -h
|
ls -al iglunix.img -h
|
||||||
|
|
||||||
echo "o
|
echo "n
|
||||||
n
|
|
||||||
p
|
p
|
||||||
1
|
1
|
||||||
${PARTITION_START}
|
${PARTITION_START}
|
||||||
|
|
||||||
w
|
w
|
||||||
" | fdisk iglunix.img
|
" | fdisk iglunix.img
|
||||||
|
|
||||||
|
@ -40,9 +40,14 @@ rm -rf ${ROOT}
|
||||||
mkdir -p ${ROOT}
|
mkdir -p ${ROOT}
|
||||||
mount ${LOOPBACK} ${ROOT}
|
mount ${LOOPBACK} ${ROOT}
|
||||||
|
|
||||||
packages=(musl mksh bmake gmake libressl cmake curl rsync flex byacc om4 zlib samurai libffi python ca-certificates zlib expat gettext-tiny git kati netbsd-curses kakoune iglunix rust toybox busybox less file pci-ids e2fsprogs linux-pam kbd)
|
packages=(musl mksh bmake gmake libressl cmake curl rsync flex byacc om4 zlib samurai libffi python ca-certificates zlib expat gettext-tiny git kati netbsd-curses kakoune iglunix rust toybox busybox less file pci-ids e2fsprogs util-linux linux-pam kbd)
|
||||||
cp_packages ${ROOT}
|
cp_packages ${ROOT}
|
||||||
|
|
||||||
|
echo "Copying misc files to ${ROOT}"
|
||||||
|
mkdir ${ROOT}/etc/
|
||||||
|
cp ./pkgs/tiny-linux-bootloader/fstab ${ROOT}/etc/fstab
|
||||||
|
cp /etc/hostname ${ROOT}/hostname
|
||||||
|
|
||||||
echo "Using the host keymap"
|
echo "Using the host keymap"
|
||||||
cp /etc/vconsole.conf ${ROOT}/etc/vconsole.conf
|
cp /etc/vconsole.conf ${ROOT}/etc/vconsole.conf
|
||||||
|
|
||||||
|
|
30
pkgs/libpsl/build.sh
Normal file
30
pkgs/libpsl/build.sh
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
pkgname=libpsl
|
||||||
|
pkgver=0.21.1
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl -L "https://github.com/rockdaboot/libpsl/releases/download/0.21.1/libpsl-0.21.1.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
|
mkdir $pkgname-$pkgver/build
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cd build
|
||||||
|
meson .. \
|
||||||
|
--buildtype=release \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libexecdir=lib
|
||||||
|
samu
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cd build
|
||||||
|
DESTDIR=$pkgdir samu install
|
||||||
|
}
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat LICENSE
|
||||||
|
# cat COPYING
|
||||||
|
}
|
|
@ -4,7 +4,7 @@ pkgrel=1
|
||||||
ext="dev"
|
ext="dev"
|
||||||
|
|
||||||
fetch() {
|
fetch() {
|
||||||
curl "https://github.com/kisslinux/website/blob/master/site/dist/kernel-no-perl.patch" -o kernel-no-perl.patch
|
curl "https://raw.githubusercontent.com/kisslinux/website/master/site/dist/kernel-no-perl.patch" -o kernel-no-perl.patch
|
||||||
curl "https://cdn.kernel.org/pub/linux/kernel/v5.x/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
curl "https://cdn.kernel.org/pub/linux/kernel/v5.x/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||||
tar -xf $pkgname-$pkgver.tar.xz
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
|
|
29
pkgs/sqlite/build.sh
Normal file
29
pkgs/sqlite/build.sh
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
pkgname=sqlite
|
||||||
|
pkgver=3350100
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl "https://sqlite.org/2021/sqlite-autoconf-3350100.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
|
mv $pkgname-autoconf-$pkgver $pkgname-$pkgver
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--build=x86_64-unknown-linux-musl \
|
||||||
|
--host=x86_64-unknown-linux-musl
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
make install DESTDIR=$pkgdir
|
||||||
|
}
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat LICENSE
|
||||||
|
# cat COPYING
|
||||||
|
}
|
5
pkgs/tiny-linux-bootloader/fstab
Normal file
5
pkgs/tiny-linux-bootloader/fstab
Normal 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
|
37
pkgs/util-linux/build.sh
Normal file
37
pkgs/util-linux/build.sh
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
pkgver=2.36.2
|
||||||
|
pkgname=util-linux
|
||||||
|
pkgrel=1
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl "https://mirrors.edge.kernel.org/pub/linux/utils/$pkgname/v2.36/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--build=x86_64-unknown-linux-musl \
|
||||||
|
--host=x86_64-unknown-linux-musl \
|
||||||
|
--disable-all-programs \
|
||||||
|
--enable-libsmartcols \
|
||||||
|
--enable-libuuid \
|
||||||
|
--enable-libfdisk \
|
||||||
|
--enable-fdisks
|
||||||
|
|
||||||
|
|
||||||
|
make LDFLAGS="-lterminfo"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
make install DESTDIR=$pkgdir
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat COPYING
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue