Verified Kaydet (Commit) f759626f authored tarafından Erdem Ersoy's avatar Erdem Ersoy

Add GNU Nano

But GNU Nano doesn't work, I'll fix it.
üst 4dd7bf79
......@@ -33,6 +33,7 @@ KERNEL_VERSION_NOT_GNU=5.10.31
BUSYBOX_VERSION=1.32.1
MUSL_VERSION=1.2.2
NCURSES_VERSION=6.2
EDITOR_VERSION=5.6.1
SYSLINUX_VERSION=6.03
......@@ -55,6 +56,7 @@ wget -nc http://linux-libre.fsfla.org/pub/linux-libre/releases/${KERNEL_VERSION}
wget -nc https://busybox.net/downloads/busybox-${BUSYBOX_VERSION}.tar.bz2
wget -nc https://musl.libc.org/releases/musl-${MUSL_VERSION}.tar.gz
wget -nc https://invisible-island.net/datafiles/release/ncurses.tar.gz
wget -nc https://nano-editor.org/dist/v5/nano-${EDITOR_VERSION}.tar.xz
wget -nc http://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/syslinux-${SYSLINUX_VERSION}.tar.xz
cd ..
......@@ -67,6 +69,7 @@ tar -xvf ../packages/linux-libre-${KERNEL_VERSION}.tar.xz -C .
tar -xvf ../packages/busybox-${BUSYBOX_VERSION}.tar.bz2 -C .
tar -xvf ../packages/musl-${MUSL_VERSION}.tar.gz -C .
tar -xvf ../packages/ncurses.tar.gz -C .
tar -xvf ../packages/nano-${EDITOR_VERSION}.tar.xz -C .
tar -xvf ../packages/syslinux-${SYSLINUX_VERSION}.tar.xz -C .
cd ..
......@@ -123,6 +126,17 @@ cp -r _install/* ../../rootfs
cd ../..
# Configure and install editor (nano)
cd packages_extracted/nano-${EDITOR_VERSION}
./configure --host=${HOST} --prefix=$(pwd)/_install CFLAGS="--static" CPPFLAGS="--static"
make
make install
cp -r _install/* ../../rootfs
cd ../..
# Prepare root filesystem with some changes
cd rootfs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment