Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
redoxer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mattmadeofpasta
redoxer
Commits
54a9e178
Verified
Commit
54a9e178
authored
5 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
init
parents
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
redoxer.sh
+45
-0
45 additions, 0 deletions
redoxer.sh
redoxer.toml
+214
-0
214 additions, 0 deletions
redoxer.toml
with
260 additions
and
0 deletions
.gitignore
0 → 100644
+
1
−
0
View file @
54a9e178
build
This diff is collapsed.
Click to expand it.
redoxer.sh
0 → 100755
+
45
−
0
View file @
54a9e178
#!/usr/bin/env bash
set
-ex
if
[
!
-f
"
$1
"
]
then
echo
"
$0
[program]"
>
&2
exit
1
fi
export
TARGET
=
x86_64-unknown-redox
sudo rm
-rf
build/redoxer build/redoxer.bin
rm
-f
build/redoxer-qemu.bin
mkdir
-p
build/redoxer
if
!
which redox_installer
>
/dev/null
then
cargo
install
--git
https://gitlab.redox-os.org/redox-os/installer.git
fi
sudo
"
$(
which redox_installer
)
"
-c
redoxer.toml build/redoxer
name
=
"
$(
basename
"
$1
"
)
"
sudo cp
"
$1
"
"build/redoxer/bin/
$name
"
echo
"stdio debug:"
|
sudo tee
build/redoxer/etc/init.d/10_redoxer
echo
"echo <redoxer>"
|
sudo tee
-a
build/redoxer/etc/init.d/10_redoxer
echo
"
$name
"
|
sudo tee
-a
build/redoxer/etc/init.d/10_redoxer
echo
"echo </redoxer>"
|
sudo tee
-a
build/redoxer/etc/init.d/10_redoxer
if
!
which redoxfs
>
/dev/null
then
cargo
install
redoxfs
fi
sudo
"
$(
which redoxfs-ar
)
"
build/redoxer.bin build/redoxer build/redoxer/bootloader
cp
build/redoxer.bin build/redoxer-qemu.bin
qemu-system-x86_64
\
-smp
4
\
-m
2048
\
-serial
mon:stdio
\
-machine
q35
\
-device
ich9-intel-hda
-device
hda-duplex
\
-netdev
user,id
=
net0
-device
e1000,netdev
=
net0
\
-nographic
-vga
none
\
-enable-kvm
\
-cpu
host
\
-drive
file
=
build/redoxer-qemu.bin,format
=
raw
This diff is collapsed.
Click to expand it.
redoxer.toml
0 → 100644
+
214
−
0
View file @
54a9e178
# This is the default configuration file
# General settings
[general]
# Do not prompt if settings are not defined
prompt
=
false
# Package settings
[packages]
#acid = {}
#audiod = {}
#autoconf = {}
#automake = {}
#bash = {}
#binutils = {}
bootloader
=
{}
#ca-certificates = {}
#cairo = {}
#cairodemo = {}
#cargo = {}
#cleye = {}
#cmatrix = {}
#contain = {}
#coreutils = {}
#cpal = {}
#curl = {}
#dash = {}
#diffutils = {}
#dosbox = {}
#drivers = {}
#drivers-041 = {}
#duktape = {}
#eduke32 = {}
#exampled = {}
#expat = {}
#extrautils = {}
#fd = {}
#ffmpeg = {}
#findutils = {}
#freeciv = {}
#freedoom = {}
#freeglut = {}
#freetype = {}
#friar = {} # mio patch
#game-2048 = {}
#games = {}
#gawk = {}
#gcc = {}
#gears = {}
#generaluser-gs = {}
#gettext = {}
#gigalomania = {}
#git = {}
#glib = {}
#glium = {}
#glutin = {}
#gnu-binutils = {}
#gnu-grep = {}
#gnu-make = {}
#gstreamer = {}
#harfbuzz = {}
#hematite = {}
#init = {}
#installer = {}
#ion = {}
ipcd
=
{}
#jansson = {}
kernel
=
{}
#keyboard-sfx = {}
#lci = {}
#libc-bench = {}
#libffi = {}
#libiconv = {}
#libjpeg = {}
#liborbital = {}
#libpng = {}
#libsodium = {}
#llvm = {}
logd
=
{}
#lua = {}
#mdp = {}
#mesa = {}
#mesa_glu = {}
#miniserve = {}
#nasm = {}
#ncdu = {}
#ncurses = {}
#ncursesw = {}
#netdb = {}
#netstack = {}
#netsurf = {}
#netutils = {}
#newlib = {}
#newlibtest = {}
#nulld = {}
#openjazz = {}
#openssl = {}
#openttd = {}
#openttd-opengfx = {}
#openttd-openmsx = {}
#openttd-opensfx = {}
#orbdata = {}
#orbital = {}
#orbterm = {}
#orbutils = {}
#osdemo = {}
#pastel = {}
#patch = {}
#pcre = {}
#periodictable = {}
#perl = {}
#pixelcannon = {}
#pixman = {}
#pkgutils = {}
#powerline = {}
#prboom = {}
ptyd
=
{}
#python = {}
#qemu = {}
#randd = {}
#readline = {} # ncurses
#redoxfs = {}
#redox-ssh = {}
#relibc = {}
#ripgrep = {}
#rodioplay = {}
#rs-nes = {}
#rust = {}
#rust64 = {}
#rust-cairo = {}
#rust-cairo-demo = {}
#rustual-boy = {}
#schismtracker = {}
#scummvm = {}
#sdl = {}
#sdl2 = {}
#sdl_gfx = {}
#sdl_image = {}
#sdl_mixer = {}
#sdl_ttf = {}
#sdl-player = {}
#sed = {}
#servo = {}
#shellstorm = {}
#smith = {}
#sodium = {}
#sopwith = {}
#ssh = {}
#syobonaction = {}
#terminfo = {}
#termplay = {}
#timidity = {}
#ttf-hack = {}
#userutils = {}
#uutils = {}
#vim = {}
#vttest = {}
#webrender = {}
#winit = {}
#xz = {}
#zerod = {}
#zlib = {}
# User settings
[users.root]
password
=
"password"
uid
=
0
gid
=
0
name
=
"root"
home
=
"/root"
[users.user]
# Password is unset
password
=
""
[[files]]
path
=
"/etc/init.d/00_base"
data
=
"""
ipcd
logd
ptyd
"""
[[files]]
path
=
"/usr/bin"
data
=
"/bin"
symlink
=
true
[[files]]
path
=
"/usr/games"
data
=
"/games"
symlink
=
true
[[files]]
path
=
"/usr/include"
data
=
"/include"
symlink
=
true
[[files]]
path
=
"/usr/lib"
data
=
"/lib"
symlink
=
true
[[files]]
path
=
"/usr/share"
data
=
"/share"
symlink
=
true
[[files]]
path
=
"/tmp"
data
=
""
directory
=
true
# 0o1777
mode
=
1023
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment