commit 8a398b2ed80d03c99bb2b11010bb2e205a8d4aef
parent aa51a99247bc0620f2f076103c88e1effa1b8d06
Author: emmett1 <emmett1.2miligrams@protonmail.com>
Date: Thu, 2 Oct 2025 04:28:55 +0000
Merge branch 'main' of https://codeberg.org/emmett1/alicelinux
Diffstat:
3 files changed, 28 insertions(+), 26 deletions(-)
diff --git a/repos/core/busybox/.checksum b/repos/core/busybox/.checksum
@@ -31,4 +31,4 @@ f220e64f2c99e5fae0bf764a750dcab6b91568f8afbee791949b43bc189cc8c0 tty1.run
7c60f858969c374e06d03c1d649696d4242f43676ef8e7dd6cdf606a4e583592 tty5.run
e1fb7d9b56a24067762dd7a931e95a2c6b271134d90b9dc10a57502e2b05dae2 ttyS0.run
9515af6267864a2233389892714eec863ddf50eeb5f738f5be05ff69c89ac4b9 udhcpc.conf
-9264db7730978f6f5a0fbe82bbfcc5bbe10991483a9dc31ab4b26c3374020658 udhcpc.run
+a098b99e04b4d6242895f3b31e4660d074554dddc5dedfbc2228b661df810a51 udhcpc.run
diff --git a/repos/core/busybox/udhcpc.run b/repos/core/busybox/udhcpc.run
@@ -10,4 +10,5 @@ if [ ! "$IFACE" ]; then
done
fi
[ "$IFACE" ] || exit 1
+ip link set $IFACE up
exec udhcpc -f -i $IFACE
diff --git a/website/docs/install.md b/website/docs/install.md
@@ -12,13 +12,9 @@ $ curl -O <url>
$ curl -O <url>.sha256sum
```
-Verify the checksum of the Alice rootfs tarball:
+Verify the checksum of the Alice rootfs tarball.
```
$ sha256sum -c alicelinux-rootfs-20240525.tar.xz.sha256sum
-```
-
-Make sure it prints:
-```
alicelinux-rootfs-20240525.tar.xz: OK
```
@@ -93,7 +89,7 @@ I'm gonna use directory `/var/lib/repos/core` and `/var/lib/repos/extra` for `co
Next, we will set up directories for `packages`, `sources`, and `work`. By default, these directories are inside the package template, but we will change them to `/var/cache/pkg`, `/var/cache/src`, and `/var/cache/work` respectively. You can change these to any location where you want to store these files.
-First, create the directories:
+First, create the directories.
```
# mkdir -p /var/cache/pkg
# mkdir -p /var/cache/src
@@ -175,7 +171,7 @@ You can configure your own kernel from [kernel.org](https://kernel.org/) or use
> NOTE: The provided kernel will take a lot of time to compile because many options are enabled.
-If you want to use Alice's kernel, just run:
+If you want to use Alice's kernel, just run.
```
# apkg -I linux
```
@@ -183,7 +179,7 @@ If you want to use Alice's kernel, just run:
Install firmware
----------------
-If your hardware requires firmware, install it using:
+If your hardware requires firmware, install it using.
```
# apkg -I linux-firmware
```
@@ -191,12 +187,12 @@ If your hardware requires firmware, install it using:
Install bootloader
------------------
-In this guide, I'm going to use `grub` as the bootloader. Install `grub`:
+In this guide, I'm going to use `grub` as the bootloader. Install `grub`.
```
# apkg -I grub
```
-Then generate grub config:
+Then generate grub config.
```
# grub-install /dev/sdX
# grub-mkconfig -o /boot/grub/grub.cfg
@@ -213,7 +209,7 @@ Change `alice` to the hostname of your choice.
Fstab
-----
-Change the partition and filesystem of your choice below:
+Change the partition and filesystem of your choice below.
```
# echo '/dev/sda1 swap swap defaults 0 1' >> /etc/fstab
# echo '/dev/sda2 / ext4 defaults 0 0' >> /etc/fstab
@@ -222,7 +218,7 @@ Change the partition and filesystem of your choice below:
Enable runit services
---------------------
-Alice uses busybox's `runit` as its main service manager. Enable the required services:
+Alice uses busybox's `runit` as its main service manager. Enable the required services.
```
# ln -s /etc/sv/tty1 /var/service
# ln -s /etc/sv/tty2 /var/service
@@ -237,17 +233,17 @@ I'm enabling 3 `tty` services. `tty` is required; without it, you won't be able
Setup user and password
-----------------------
-Add your user:
+Add your user.
```
# adduser <user>
```
-Add your user to the `wheel` group:
+Add your user to the `wheel` group.
```
# adduser <user> wheel
```
-You might need to add your user to the `input` and `video` groups to start the Wayland compositor later, and the `audio` group to have working audio:
+You might need to add your user to the `input` and `video` groups to start the Wayland compositor later, and the `audio` group to have working audio.
```
# adduser <user> input
# adduser <user> video
@@ -257,7 +253,7 @@ You might need to add your user to the `input` and `video` groups to start the W
Root password
-------------
-Set the password for the `root` user:
+Set the password for the `root` user.
```
# passwd
```
@@ -265,36 +261,41 @@ Set the password for the `root` user:
Networking
----------
-You might want to set up networking before rebooting. Use `wpa_supplicant` and `dhcpcd`.
+You might want to set up networking before rebooting. For wifi connection, install `wpa_supplicant`.
```
-# apkg -I wpa_supplicant dhcpcd
+# apkg -I wpa_supplicant
```
-Configure your SSID:
+Configure your SSID.
```
# wpa_passphrase <YOUR SSID> <ITS PASSWORD> >> /etc/wpa_supplicant.conf
```
-Enable the service:
+Enable the service.
```
# ln -s /etc/sv/wpa_supplicant /var/service
-# ln -s /etc/sv/dhcpcd /var/service
+```
+
+Then configure & enable `udhcpc` service.
+```
+# vi /etc/sv/udhcpc/conf
+# ln -s /etc/sv/udhcpc /var/service
```
Timezone
--------
-Install `tzdata`:
+Install `tzdata`.
```
# apkg -I tzdata
```
-Then create a symlink for your timezone to `/etc/localtime`:
+Then create a symlink for your timezone to `/etc/localtime`.
```
# ln -s /usr/share/zoneinfo/Asia/Kuala_Lumpur /etc/localtime
```
-Alternatively, you can copy it and then uninstall `tzdata` to keep your installed packages minimal:
+Alternatively, you can copy it and then uninstall `tzdata` to keep your installed packages minimal.
```
# cp /usr/share/zoneinfo/Asia/Kuala_Lumpur /etc/localtime
# apkg -r tzdata
@@ -303,7 +304,7 @@ Alternatively, you can copy it and then uninstall `tzdata` to keep your installe
Reboot and enjoy!
-----------------
-Exit the chroot environment and unmount the Alice partition, then reboot:
+Exit the chroot environment and unmount the Alice partition, then reboot.
```
# exit
# umount /mnt/alice