Compare commits

...

151 Commits

Author SHA1 Message Date
natemaia
4e941e323e Fix mirror countries when reflector fails 2023-02-05 10:37:17 -08:00
natemaia
c12955753f Kernel net.ifnames flags for working net post install 2023-01-18 09:46:07 -08:00
natemaia
2b3903862b remove unused functions 2023-01-18 09:46:07 -08:00
natemaia
c02936840b Check for package list being present when installing 2023-01-18 09:46:07 -08:00
natemaia
2b9e64b30b Fix error in getopts string 2023-01-18 09:46:07 -08:00
natemaia
750ca64362 Bump 2023-01-11 15:48:54 -08:00
natemaia
c1a10aefdc Add extra warning for LVM 2022-12-27 17:29:57 -08:00
natemaia
40a5a15fce Fix: issue with removing LVM partitions containing a slash 2022-12-26 15:32:25 -08:00
natemaia
a239963197 Put updating after key check 2022-10-15 13:28:55 -07:00
natemaia
cd83fd59f6 Import key when expired 2022-10-15 12:43:26 -07:00
natemaia
f0d0b9c937 Remove obkey from openbox packages 2022-10-06 17:58:34 -07:00
natemaia
41974531f9 Remove firmware packages causing issues 2022-09-29 19:29:06 -07:00
natemaia
044503041b WM order and descriptions 2022-08-21 09:44:11 -07:00
natemaia
b92cdd34ef Large update 2022-08-20 19:33:07 -07:00
natemaia
ba89e69277 Check for failure to install base and retry 2022-07-29 19:44:13 -07:00
natemaia
2947da8c42 Version bump for auto-update 2022-06-12 16:24:28 -07:00
natemaia
289d60ba4d Version bump for iso auto-update 2022-06-01 11:15:49 -07:00
natemaia
c519300b08 Fix: typos with driver install, thanks @eight_bit_al 2022-06-01 11:15:03 -07:00
natemaia
243a0c37b2 Fix alignment with info 2022-05-29 17:08:00 -07:00
natemaia
63a8660e5a Update sway session and info screen 2022-05-29 15:36:01 -07:00
natemaia
72f711df51 Fix: various errors with more than 9 partitions, update README
See: https://forum.archlabslinux.com/t/installer-doesnt-list-all-partitions/6461/44
2022-05-24 20:23:29 -07:00
natemaia
93a46247bc Fix: locale setting causing multiple unwanted matches 2022-03-13 10:07:59 -07:00
natemaia
db0fb0a21d Support more locales 2022-03-13 09:57:09 -07:00
natemaia
8fd50ac55f Cursor fix for sway in VM 2022-02-13 09:17:22 -08:00
natemaia
d3e4c08cfa Fix various issues 2022-02-12 14:47:11 -08:00
natemaia
97491ac6a0 Merge branch 'master' of https://bitbucket.org/archlabslinux/installer 2022-02-04 12:20:11 -08:00
natemaia
ec832426f8 Update sway session 2022-02-04 12:19:58 -08:00
natemaia
10f56f6d84 Fix sudoers issue 2022-02-04 11:24:36 -08:00
natemaia
9c3ab8ee24 Add jq to sway session 2022-01-21 16:11:20 -08:00
natemaia
0c1582f410 Large Update 2022-01-16 22:10:19 -08:00
natemaia
6ad74b4d96 Clean up some text and usage flags 2021-09-05 17:53:35 -07:00
natemaia
d506b2a1f5 Tweaks for arch iso install and keyring 2021-09-05 16:18:57 -07:00
natemaia
55a944f078 Add config option for grub to enable os-prober 2021-09-04 14:11:13 -07:00
natemaia
4be1ccae29 Redundancy for keyring failures 2021-09-04 13:17:42 -07:00
natemaia
20844b6342 Add option to skip font selection 2021-05-05 15:44:00 -07:00
natemaia
b8c308d736 Update package changes (refind-efi -> refind) 2021-05-01 15:15:33 -07:00
natemaia
e2bc9748a9 Clean up user creation. 2020-12-31 10:09:05 -08:00
natemaia
389d606628 Add new flag to disable network checks 2020-12-29 17:38:31 -08:00
natemaia
0745aac954 Fix: size not being used in live setup 2020-12-05 11:58:19 -08:00
natemaia
0e1030016b Move chown for new user home to after creating login files. 2020-11-05 12:59:53 -08:00
natemaia
a7b7ad8f20 Fix: al packages not being installed from arch iso live boot. 2020-11-04 21:53:32 -08:00
natemaia
6982f208c9 Version update 2020-11-04 21:09:09 -08:00
natemaia
3f24687277 Strip whitespace 2020-11-04 21:07:30 -08:00
natemaia
a2cf620931 Fix: $DIST default 2020-11-04 20:56:57 -08:00
natemaia
d501055760 Create dialogrc if one doesn't already exist 2020-11-04 20:53:43 -08:00
natemaia
b6116a651d Newline in error message 2020-11-04 20:49:32 -08:00
natemaia
13b65354f9 Fix: issue with os-release name being doubled 2020-11-04 16:44:20 -08:00
natemaia
89bb0a394a Lower case distro name for boot files 2020-11-04 16:23:10 -08:00
natemaia
204912e5c3 Update a few dialogs 2020-11-04 15:52:32 -08:00
natemaia
eec9ce43f0 More basic title headers and de-branding 2020-11-04 12:17:49 -08:00
natemaia
3e88c39002 Cleanup a few spots 2020-11-04 11:48:35 -08:00
natemaia
98d38ad037 Move to pacstrap only base install, simplify some sections. 2020-11-04 10:45:57 -08:00
natemaia
00470e76c7 make pacman dir if needed. 2020-11-02 10:11:50 -08:00
natemaia
335d6b1a21 Add ~/.local/bin to the path in user shell profile 2020-10-28 19:33:03 -07:00
natemaia
55ef4503a5 Package changes 2020-07-01 18:54:29 -07:00
natemaia
903b757f57 Change swapfile creation 2020-06-24 20:45:20 -07:00
natemaia
c848e2c446 Tweaks to live session setup 2020-06-22 17:12:47 -07:00
natemaia
5727b5902b Remove missing package qt5-styleplugins, fix for future cases like this. 2020-06-14 15:08:46 -07:00
natemaia
1b913aa32d Add pkgconf for failing st build 2020-06-14 13:54:12 -07:00
natemaia
5ac823892b Make sure both make and gcc are installed for building dwm. 2020-06-14 13:29:37 -07:00
natemaia
7b0cb1d55e Remove microcode from boot before trying to install 2020-06-14 09:49:03 -07:00
natemaia
5686dd7f62 Fix up a few dialog issues 2020-06-13 19:51:31 -07:00
natemaia
909043f751 Cleanup a few small dialog text issues. 2020-06-13 13:26:54 -07:00
natemaia
2228c92e9c Update 2020-05-30 11:21:30 -07:00
natemaia
d6c2a29c14 Fix issue when indexing empty strings, large cleanup. 2020-05-20 00:28:22 -07:00
natemaia
45f3b08020 Set sddm theme when using it with plasma or lxqt 2020-05-18 22:48:26 -07:00
natemaia
225404d215 Remove pointless array 2020-05-18 12:49:36 -07:00
natemaia
b6d3226628 Fix mirror country selection 2020-05-18 12:48:31 -07:00
natemaia
711c2f9285 Support hibernation onto swapfile on btrfs 2020-05-18 00:04:22 -07:00
natemaia
212b8b77ce Make mirror country selection standard, tidy up and organize 2020-05-17 23:35:01 -07:00
natemaia
6465826a7d Just in case EDITOR isn't set 2020-05-17 19:39:11 -07:00
natemaia
55e4763abf Shorten finished message for btrfs subvolumes. 2020-05-17 19:23:47 -07:00
natemaia
57dcdcd749 Don't show initial mount confirmation when were using btrfs subvolumes 2020-05-17 19:18:15 -07:00
natemaia
1c74c329ce Sentence structure 2020-05-17 19:14:43 -07:00
natemaia
f4f8528257 Display message before modeprobe FS in part_format 2020-05-17 19:12:04 -07:00
natemaia
8d46a77b15 Tidy up some text 2020-05-17 19:06:24 -07:00
natemaia
86c9388485 Update 2020-05-17 18:48:08 -07:00
natemaia
07af2cd556 uniq only works on sorted input 2020-05-17 18:29:26 -07:00
natemaia
1fe5a7ae88 Ask about mounting btrfs subvolumes when skipping formatting 2020-05-17 15:51:20 -07:00
natemaia
203ae18612 Fix: dialog menu 2020-05-17 15:34:18 -07:00
natemaia
cf4531b09f Fix: trying to remove things that don't exist 2020-05-17 15:25:37 -07:00
natemaia
118789e63c Inform of mount success with btrfs subvol mount 2020-05-17 14:55:58 -07:00
natemaia
fb3803f3fd Fix: btrfs_subvols passing invalid arguments to part_mntopts 2020-05-17 14:52:41 -07:00
natemaia
3e4e965763 Cleanup 2020-05-17 14:46:01 -07:00
natemaia
303f2615f1 More cleanup and QOL improvements 2020-05-17 14:29:34 -07:00
natemaia
94ccb4ac0f Update welcome 2020-05-17 12:34:28 -07:00
natemaia
38ccc9b96d Better dependency handling, update README 2020-05-17 12:10:32 -07:00
natemaia
1a49d67c4c Add mirror country selection and cleanup a few places 2020-05-17 11:20:09 -07:00
natemaia
c30b103b82 Rename script, cleanup btrfs functions and simplify 2020-05-17 11:14:03 -07:00
natemaia
43a31435be Testing btrfs changes 2020-05-17 11:13:56 -07:00
natemaia
c57cc058fb Add more automation to early setup 2020-05-15 16:19:27 -07:00
natemaia
be74c0c40f Cleanup a few spots 2020-05-15 00:50:53 -07:00
natemaia
55db41cb73 When an error occurs don't hide the cursor 2020-05-14 21:40:59 -07:00
natemaia
3c13a7d676 Fix: not returning properly when done selecting root 2020-05-14 21:25:14 -07:00
natemaia
e6f3e606bd Preserve choices made for early setup for additional runs 2020-05-14 21:06:50 -07:00
natemaia
b7e6c053e1 Fix: error in select_filesystem 2020-05-14 20:45:26 -07:00
natemaia
340f6c6aec Initial btrfs support 2020-05-14 00:31:38 -07:00
natemaia
ef9edc0d62 Initial work on mountless install 2020-05-12 19:50:35 -07:00
natemaia
62125fc64b Fix: xorg keyboard config being wiped on virtual machines. 2020-05-05 15:49:53 -07:00
natemaia
c26737491e Re-order a few bits 2020-05-04 09:56:06 -07:00
natemaia
f1321c1dd9 Copy skel to existing home directory 2020-05-03 23:03:31 -07:00
natemaia
1c1ee76cb4 Fix failing installation of vbox guest additions due to package changes 2020-05-03 20:56:06 -07:00
natemaia
27ca68f176 Add lxqt as an option 2020-05-03 19:31:31 -07:00
natemaia
fc7ae70f16 Disable ly display manager, add some more info. 2020-05-03 15:52:40 -07:00
natemaia
2208c3afba Fix various issues 2020-05-03 12:47:39 -07:00
natemaia
87ffbdcb42 Large cleanup.
- Merge pacstrap and copy iso code path, most of it was the same.

- Use systemd-detect-virt for VM detection instead of dmesg hacks.

- Add AMD microcode back to the install process *(still not sure if it's
actually needed)*.

- Make sure cryptsetup is installed for when using pacstrap.

- Remove signal file if we've reached the background bit, the output
from pacman is better *(and maybe faster)* when running in the
foreground.

- General cleanup.
2020-05-02 23:25:41 -07:00
natemaia
3aac0aeaf8 Enable NTP to avoid SSL issues. Sync database before installing packages 2020-05-02 12:16:56 -07:00
natemaia
4c62f143e1 Remove duplicate irssi package entry 2020-04-26 15:42:40 -07:00
natemaia
43e1cff680 Fix exit issue from main menu 2020-04-26 10:17:11 -07:00
natemaia
e79981bdbe Fix spaces in drive model causing issues. 2020-04-26 07:34:39 -07:00
natemaia
f16d682856 Add file system descriptions. 2020-04-25 22:40:27 -07:00
natemaia
b4abbd2c4c Fix package name typo 2020-04-25 20:37:57 -07:00
natemaia
d646385ee1 Clear on clean exit 2020-04-25 20:25:21 -07:00
natemaia
5f325663b2 Don't read ANS if it's empty 2020-04-25 20:18:50 -07:00
natemaia
e0efe9fd21 Initial overhaul and cleanup of package install. 2020-04-25 20:06:10 -07:00
natemaia
c012f0d09b Add more info to partition labels when prompting for choices. 2020-04-25 12:55:54 -07:00
natemaia
371d53eca7 Optimisations for package install 2020-04-25 12:55:54 -07:00
natemaia
f1b9165bd5 Fix issue with package install 2020-04-24 00:42:30 -07:00
natemaia
2dec81e0a8 Convert package lists to arrays to fix some issues. 2020-04-23 23:01:04 -07:00
natemaia
9c04406346 Enable networkmanager for pacstrap installs. 2020-04-18 17:23:44 -07:00
natemaia
0cd7302167 WIP: initial changes to use pacstrap or not. 2020-04-18 15:49:42 -07:00
natemaia
26eaf5d858 Change to using pacstrap for base install to avoid issues. 2020-04-18 12:58:20 -07:00
natemaia
516881ae41 Simplify and cleanup a few things 2020-04-10 16:03:28 -07:00
natemaia
4d3c93c034 Fix: linter warnings 2020-03-25 08:30:25 -07:00
natemaia
4e60793784 Clean up part show 2020-03-07 17:53:06 -08:00
natemaia
f7c99005f1 Add device model to menu partition info 2020-03-07 17:07:27 -08:00
natemaia
9bc60e09fd Add more info and better formatting to various lsblk outputs 2020-03-07 16:58:48 -08:00
natemaia
3455c4bfe9 Add device label info to partition menus 2020-03-07 16:24:38 -08:00
natemaia
b2a3db3cfd Add fstype to partition size field, improve part_find. 2020-03-07 15:17:59 -08:00
natemaia
8472e150c3 Add gdisk to partitioning tools. 2020-03-07 12:55:33 -08:00
natemaia
21478baf33 Add networking check fix for VMs from HoaS. 2020-03-07 12:27:42 -08:00
natemaia
6b8d0b7e1d Clean up a few things 2020-03-02 22:14:19 -08:00
natemaia
904cd16a5b Fix: bad return in select_login causing packages never to be added. 2020-03-01 22:50:51 -08:00
natemaia
cd27c3c70b Add resume kernel parameter, more cowspace for live install. 2020-03-01 12:14:10 -08:00
natemaia
c023609a6b Change network check from curl pipeline to simple ping command 2020-01-10 12:08:42 -08:00
natemaia
343e9d88b1 Revert commit to run command a second time in errshow 2020-01-05 12:50:10 -08:00
natemaia
969cdf6c74 Fix: refind-efi issues 2019-12-26 18:21:13 -08:00
natemaia
83a3882f31 Fix: typo in tearfree nvidia section, version bump for packaging 2019-12-23 10:17:01 -08:00
natemaia
5b858b6d86 Fix: replace changes to /etc/systemd/login.conf after install 2019-12-23 00:01:09 -08:00
natemaia
e211c5c4c2 Fix: missing function for bootloader install, more cleanup 2019-12-22 21:52:07 -08:00
natemaia
079e36c4c0 Fix: function name collision 2019-12-22 18:26:37 -08:00
natemaia
ab643323f3 Add auto startx when using xinit regardless of autologin 2019-12-22 18:26:37 -08:00
natemaia
5f8795d6e9 Add font size selection 2019-12-22 18:26:37 -08:00
PacBangLinux
a003e52a52 add -f to mkfs.f2fs 2019-12-22 18:26:37 -08:00
natemaia
13e41a9a68 Attempt to re-run failing commands
This should help when something fails but may work after a short
wait and retry, we also check stderr output of each and compare.
If they are different both will be shown otherwise just the first.
2019-12-20 10:05:03 -08:00
natemaia
b440669527 Don't for when running startx from autostart 2019-12-17 20:16:07 -08:00
natemaia
411e45bfdf Fix shell login when using xinit 2019-12-09 22:59:14 -08:00
natemaia
518b69e611 Minor change to dialog formatting 2019-12-09 22:41:18 -08:00
natemaia
f49fc88487 Add deepin and large cleanup 2019-11-23 17:36:08 -08:00
natemaia
869a6a6ee7 Remove root autologin when no login type is chosen 2019-11-13 19:47:53 -08:00
natemaia
d326b0fbf4 Fix: missing boot partition type being passed to part_auto() 2019-11-02 18:49:31 -07:00
3 changed files with 3806 additions and 2612 deletions

View File

@ -1,31 +1,35 @@
# ArchLabs Installer
Shell script to install Arch Linux based distributions with a focus on customization
#### Features
- LUKS/LVM setup
- Package & Session selection
- Full device auto partition
- Minimal dependencies.
- LUKS and/or LVM support.
- Btrfs and subvolume support.
- Full device auto partitioning.
- Mirror selection and sorting.
- Self updating with persistent settings.
- Base packages install in the background for faster installs.
- Choose your own kernel, file system, bootloader, packages, sessions, shell, login manager, etc.
#### Requirements
- `dialog` displays user interactive dialogs.
- `rsync` copies the live base during install.
- `parted` partition management and querying info.
- `arch-install-scripts` simple chroot setup with arch-chroot
- `awk`, `sed`, `curl`, `coreutils`, `findutils`, `util-linux` misc tasks throughout the install.
- `awk`
- `sed`
- `curl`
- `bash`
- `dialog`
- `parted`
- `coreutils`
- `findutils`
- `util-linux`
- `arch-install-scripts`
#### Manual Installation
```
curl -fSL https://bitbucket.org/archlabslinux/installer/raw/master/archlabs-installer -o /usr/bin/archlabs-installer
curl -fSL https://bitbucket.org/archlabslinux/installer/raw/master/installer -o /usr/local/bin/installer
```
---
A packaged version can also be found in our repos:
- stable: https://bitbucket.org/archlabslinux/archlabs\_repo
- unstable: https://bitbucket.org/archlabslinux/archlabs\_unstable

File diff suppressed because it is too large Load Diff

3784
installer Executable file

File diff suppressed because it is too large Load Diff