Compare commits
4 Commits
42212eb708
...
4e7e478249
Author | SHA1 | Date |
---|---|---|
randomuser | 4e7e478249 | |
randomuser | fa30a2ae41 | |
randomuser | ab264fb82e | |
randomuser | d6b5059a2d |
102
README
102
README
|
@ -0,0 +1,102 @@
|
||||||
|
welcome to my installer thing
|
||||||
|
=============================
|
||||||
|
|
||||||
|
have you ever wanted to nuke everything and start over on your
|
||||||
|
computer? i certainly have. this program allows me to destroy
|
||||||
|
operating system installations with new ones with
|
||||||
|
unprecedented efficency.
|
||||||
|
|
||||||
|
since i'm writing this readme before i actually write any
|
||||||
|
code, the documentation for future me is most certainly
|
||||||
|
incomplete. good luck future me, i guess.
|
||||||
|
|
||||||
|
also, as an aside: this project is designed for installing
|
||||||
|
arch linux on my Thinkpad x220. you probably shouldn't be
|
||||||
|
expecting that this will work with your use case, but if you
|
||||||
|
are, prepare to be disappointed.
|
||||||
|
|
||||||
|
this software identifies as being part of the trivial
|
||||||
|
technology movement. should you wish to learn more, visit
|
||||||
|
gemini://inixj-ix.luxe/wiki/trivial-technology--landing/.
|
||||||
|
|
||||||
|
things to do
|
||||||
|
============
|
||||||
|
|
||||||
|
iso-prep
|
||||||
|
[ ] install curl
|
||||||
|
[ ] install git
|
||||||
|
[ ] ensure internet connection
|
||||||
|
|
||||||
|
create-chroot
|
||||||
|
[ ] follow instructions in the arch wiki for typical
|
||||||
|
installation procedures [1]
|
||||||
|
|
||||||
|
[1]: https://wiki.archlinux.org/title/Installation_guide
|
||||||
|
|
||||||
|
[ ] make a script inside the chroot that hands off control
|
||||||
|
for installation procedure, and then exits
|
||||||
|
|
||||||
|
chroot-prep
|
||||||
|
[ ] see `create-chroot'
|
||||||
|
[ ] install grub
|
||||||
|
[ ] add user account
|
||||||
|
[ ] configure sudo permissions
|
||||||
|
[ ] install essential packages
|
||||||
|
- neovim
|
||||||
|
- wpa_supplicant
|
||||||
|
- dhcpcd
|
||||||
|
- git
|
||||||
|
- sudo
|
||||||
|
[ ] add autorun shell script that starts post-arch-install
|
||||||
|
|
||||||
|
post-arch-install
|
||||||
|
[ ] install randomuser/utils
|
||||||
|
[ ] install randomuser/wallpapers
|
||||||
|
[ ] install dylanaraps/pash
|
||||||
|
[ ] install Earnestly/sx
|
||||||
|
[ ] other packages i forgot
|
||||||
|
|
||||||
|
things to do (phase 2)
|
||||||
|
======================
|
||||||
|
|
||||||
|
[ ] add somewhat of an error checking and fallback system
|
||||||
|
[ ] add a `compiler' type thing that pushes everything into
|
||||||
|
one easily-hostable file for (hopefully) easy downloading
|
||||||
|
|
||||||
|
release plan
|
||||||
|
============
|
||||||
|
|
||||||
|
- version 0 will be the base minimum
|
||||||
|
|
||||||
|
license
|
||||||
|
=======
|
||||||
|
|
||||||
|
This is free and unencumbered software released into the public domain.
|
||||||
|
|
||||||
|
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||||
|
distribute this software, either in source code form or as a compiled
|
||||||
|
binary, for any purpose, commercial or non-commercial, and by any
|
||||||
|
means.
|
||||||
|
|
||||||
|
In jurisdictions that recognize copyright laws, the author or authors
|
||||||
|
of this software dedicate any and all copyright interest in the
|
||||||
|
software to the public domain. We make this dedication for the benefit
|
||||||
|
of the public at large and to the detriment of our heirs and
|
||||||
|
successors. We intend this dedication to be an overt act of
|
||||||
|
relinquishment in perpetuity of all present and future rights to this
|
||||||
|
software under copyright law.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||||
|
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||||
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
For more information, please refer to <http://unlicense.org/>
|
||||||
|
|
||||||
|
contact
|
||||||
|
=======
|
||||||
|
|
||||||
|
randomuser <randomuser at tilde dot club>
|
|
@ -0,0 +1,24 @@
|
||||||
|
# this script will be executed when the user has first
|
||||||
|
# executed the installer on their computer, in the arch
|
||||||
|
# linux installation environment.
|
||||||
|
|
||||||
|
# we're first going to ensure that
|
||||||
|
# a) we have an internet connection
|
||||||
|
# b) we have some essential packages installed, and if not,
|
||||||
|
# install them
|
||||||
|
|
||||||
|
# define a function for erroring out
|
||||||
|
die() {
|
||||||
|
printf "%s\n" "$1"
|
||||||
|
exit $2
|
||||||
|
}
|
||||||
|
|
||||||
|
# ping is a standard utility, try to ping 1.1.1.1
|
||||||
|
[ "$(ping 1.1.1.1)" -eq 0 ] || \
|
||||||
|
die "couldn't connect to the internet!" 1
|
||||||
|
|
||||||
|
# update all the packages
|
||||||
|
pacman -Syu --noconfirm
|
||||||
|
|
||||||
|
# install essentials (if they arn't installed)
|
||||||
|
pacman -S --noconfirm git curl
|
Loading…
Reference in New Issue