Skip to content

Commit

Permalink
Changed build order in build.sh for the necessary shift to integrate …
Browse files Browse the repository at this point in the history
…the initramfs.cpio.xz into bzImage [aka. initrd into linux kernel]...

- See [issue #10](#10 (comment)) for details.

Signed-off-by: kkarhan <[email protected]>
  • Loading branch information
kkarhan committed Jan 25, 2024
1 parent dc7464b commit 6f928cf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions scripts/profile/core/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ echo "Current directory is $PWD"
./pkgs/musl-cross.sh
#read -p "Press any key to continue... " -n1 -s

./pkgs/build-linux.sh
#read -p "Press any key to continue... " -n1 -s

./pkgs/build-toybox.sh
#read -p "Press any key to continue... " -n1 -s

Expand All @@ -19,6 +16,9 @@ echo "Current directory is $PWD"
./pkgs/make-initramfs.sh
#read -p "Press any key to continue... " -n1 -s

./pkgs/build-linux.sh
#read -p "Press any key to continue... " -n1 -s

./pkgs/make-image.sh

exit
13 changes: 9 additions & 4 deletions scripts/profile/core/rootfs/etc/init
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/bin/toybox bash
/bin/toybox mount -t proc none /proc
/bin/toybox mount -t sysfs none /sys
/bin/toybox clear
/bin/toybox oneit -rn -c /dev/tty0
/bin/toybox openvt -c 1 -s
/bin/toyboy mount -nvt tmpfs none /dev
/bin/toybox lspci
/bin/toybox lsusb
/bin/toybox echo -ne '\007'
/bin/toybox sleep 1
/bin/toybox echo -ne '\007'
/bin/toybox uname
/bin/toybox uname -r
/bin/toybox cat welcome.txt
/bin/toybox bash
/bin/toybox oneit -rn -c /dev/tty0 /bin/toybox bash
/bin/toybox oneit -rn -c /dev/console /bin/toybox bash
/bin/toybox oneit -rn -c /bin/toybox openvt -c 0 -s
7 changes: 1 addition & 6 deletions scripts/profile/core/rootfs/etc/profile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Bash Aliases
## Based off: https://github.com/kkarhan/misc-scripts/blob/master/bash/.bash_aliases

## Useful commands
alias flushcache='sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"'
### Flush the RAM forcefully
### See: https://www.cyberithub.com/drop-flush-clear-cache-memory-ram-in-linux/

## faster to type, DOS-alike commands
alias cls='clear'
alias dir='ls -ahl'
Expand All @@ -14,12 +12,9 @@ alias unixtime='date +%s'
alias ding='printf '\a''
### Create a Beep [printing out BELL character to stdout]
### See: https://github.com/OS-1337/OS1337/issues/19#issuecomment-1867469203

function isup() { ping -a -b -c 1 -D "$@"; }
### Single Ping attempt to a specific host which has to be specified i.e. "isup 192.168.0.1"
### This is done to see if a host "is up"...

alias pub4='wget -O http://ip4only.me/api/ ; echo;'
### find public IPv4 adress
### see: http://ip4only.me/
### find public IPv4 adress using http://ip4only.me/
### NOTE: Lack of IPv4 connectivity will result in a 404 error!

0 comments on commit 6f928cf

Please sign in to comment.