Then navigate to the cloned repo and use makepkg to build mesa-git:
$ cd mesa-git
$ makepkg -sCLfi
This will attempt to build and install the package. Remove the -i flag if you don’t want to install the package right after building it.
PS. It’s a good practice to build packages in clean chroot. I’ve been using clean-chroot-manager for a while to do this and I love it! Highly recommend: https://github.com/graysky2/clean-chroot-manager
I have not used EndeavourOS itself. However, I know they do use Arch build tools.
I’ve actually used their build repo and scripts before as a template to create a custom Arch ISO. So based on that fact alone, I’d recommend checking it out.
Agreed, seems to be the case of not having enough space. If the OP is running pacman -Syu on the live media (which is not necessary) then it's very likely to run out of cowspace, which is 256 MB only by default.
As lux-sol suggested, wiki is the best guide. After partitioning the disk, mount the root partition mount /dev/sdX1 /mnt and use the pacstrap to install the base pacstrap /mnt base linux linux-firmware. More packages can be installed by either appending them to the pacstrap command, or via pacman after you chroot into your new system.
PS. if really necessary, you can increase cowspace on live media using mount -o remount,size=2G /run/archiso/cowspace, which will increase it from 256MB to 2GB.
PS: if you don’t have access to a system running arch to build the iso - let me know. I was working on an ISO for work and still have an environment setup to build one. I could build an iso with the driver you need
On an unrelated note, I've been playing around with archiso for some time - the goal is to build a custom live iso which includes:
A custom user with a password.
Auto-login disabled.
Pre-configured DE theme, wallpaper, etc.
As always, the wiki was great and had almost everything included to accomplish the above. Then I've stumbled on EndeavourOS github.. and just want to say: nicely done! I've used the repo as a source of inspiration on how to get certain things done, especially what to include in customize_airootfs.sh.
I’ve always used Lyx. It suited my needs because I rarely needed to use LaTeX, mostly to write papers in school - functionality it provided had always been enough for my use-case, YMMV though
Yup DNS looks fine. A quick search showed this can happen with systemd when ntpd is started before the network is up.
Two solutions I saw was either enabling ntpdate.service aka # systemctl enable ntpdate.service
Or
Edit ntpd.service and add the following for After After=syslog.target network.target ntpdate.service sntp.service
Arch is run locally and everything else via SSH. All of the PCs at home have OpenSSH server running restricted to local LAN and WireGuard private subnet.
This way I don’t have to walk to another room to get to another PC - laziness ftw!
Looks clean!
I’ve been content with Manjaro - runs on all of my PCs at home, even on my home server. Having AUR is so convenient.
I’ve been thinking if giving Intel’s Clear Linux a go, but until it has partitioning tools in the installer - Imma pass. Running it in a VM is meh.
I guess they way I look at it is why would you NOT use firewall? Even if your home devices don’t have anything of value to malicious actors - would you really want some a**hole lurking in your home network?
Plus as some have mentioned - don’t let your devices to be used for DDoS. ufw is pretty darn simple - you don’t need to specify any ports, etc.
The simplest ufw rule-set for a home network behind NAT:
# block all incoming
ufw default deny incoming
# allow everything from your home LAN
ufw allow from 192.168.1.0/24 to any
If your PC does not have a file-server or OpenSSH server - could probably just deny all incoming without even allowing home LAN. On my devices the rules look something like:
ufw default deny incoming
# Allows OpenSSH
ufw allow from 192.168.1.0/24 to any port 22 proto tcp
# allow PiHole
ufw allow from 192.168.1.0/24 to any port 53
ufw allow from 192.168.1.0/24 to any port 80 proto tcp
ufw allow from 192.168.1.0/24 to any port 443 proto tcp
# other misc ports open for the same subnet
Idk just makes me sleep better at night even if it’s unnecessary/ placebo.
The following three rules end with 'return' which means return from the current chain and continue evaluation at the next rule in the last chain. If issued in a base chain, it is equivalent to accept.
nft add rule ip filter my-rules-not-local fib daddr type local counter return
nft add rule ip filter my-rules-not-local fib daddr type multicast counter return
nft add rule ip filter my-rules-not-local fib daddr type broadcast counter return
nft add rule ip filter my-rules-not-local limit rate 3/minute burst 10 packets counter jump my-rules-logging-deny
Default behaviour is to drop non-local
nft add rule ip filter my-rules-not-local counter drop
Again we can send specific FORWARD traffic to this policy which will drop it, in this case we did not specify any
nft add rule ip filter my-skip-to-policy-forward counter drop
Check out above when we asked specific rules to 'jump here', like udp dport 137 counter jump my-skip-to-policy-input. Any traffic directed here will be dropped
nft add rule ip filter my-skip-to-policy-input counter drop
We allow all outgoing
nft add rule ip filter my-skip-to-policy-output counter accept
Allow new outgoing flows
nft add rule ip filter my-rules-track-output ip protocol tcp ct state new counter accept
nft add rule ip filter my-rules-track-output ip protocol udp ct state new counter accept
A bit of a hack here - if you have UFW installed and are comfortable using it - write your ruleset with UFW and the use iptables-translate tool.
For example
Create the following ruleset in UFW:
ufw default deny incoming
ufw allow in on priv0
sudo ufw allow in on eth0 to any port 22 proto tcp # or another port used for SSH
Enable UFW, save rules as iptables, translate to nftables, deactivate ufw if needed.
ufw enable # if not enabled yet
ufw reload # to make sure rules have been applied
iptables-save > my_firewall_rules.txt
iptables-restore-translate -f my_firewall_rules.txt > my_nf_rules.txt
ufw disable
Here's an example UFW ruleset which we will translate to nftables:
$ sudo ufw status
Status: active
To Action From
-- ------ ----
SSH LIMIT Anywhere
Anywhere on priv0 ALLOW Anywhere
22/tcp on eth0 ALLOW Anywhere
SSH (v6) LIMIT Anywhere (v6)
Anywhere (v6) on priv0 ALLOW Anywhere (v6)
22/tcp (v6) on eth0 ALLOW Anywhere (v6)
You could skip the AUR helper entirely :)
Clone the AUR git repo for mesa git:
Then navigate to the cloned repo and use makepkg to build mesa-git:
This will attempt to build and install the package. Remove the
-iflag if you don’t want to install the package right after building it.PS. It’s a good practice to build packages in clean chroot. I’ve been using clean-chroot-manager for a while to do this and I love it! Highly recommend: https://github.com/graysky2/clean-chroot-manager
The wiki shall guide you: https://wiki.archlinux.org/index.php/Undervolting_CPU
I have not used EndeavourOS itself. However, I know they do use Arch build tools.
I’ve actually used their build repo and scripts before as a template to create a custom Arch ISO. So based on that fact alone, I’d recommend checking it out.
The repo I mentioned before: https://github.com/endeavouros-team/EndeavourOS-archiso
Agreed, seems to be the case of not having enough space. If the OP is running
pacman -Syuon the live media (which is not necessary) then it's very likely to run out of cowspace, which is 256 MB only by default.As lux-sol suggested, wiki is the best guide. After partitioning the disk, mount the root partition
mount /dev/sdX1 /mntand use the pacstrap to install the basepacstrap /mnt base linux linux-firmware. More packages can be installed by either appending them to the pacstrap command, or via pacman after you chroot into your new system.PS. if really necessary, you can increase cowspace on live media using
mount -o remount,size=2G /run/archiso/cowspace, which will increase it from 256MB to 2GB.Good luck!
Have a look at AUI script, might give you some inspiration: https://github.com/helmuthdu/aui
Sent you a message with an ISO link. Welcome to Arch and enjoy!
I can make an iso no worries. Do you want one without DE to experience a true arch install or I could throw XFCE in there too.
Have a look at Archiso Offline: https://wiki.archlinux.org/index.php/Archiso_offline
PS: if you don’t have access to a system running arch to build the iso - let me know. I was working on an ISO for work and still have an environment setup to build one. I could build an iso with the driver you need
On an unrelated note, I've been playing around with
archisofor some time - the goal is to build a custom live iso which includes:As always, the wiki was great and had almost everything included to accomplish the above. Then I've stumbled on EndeavourOS github.. and just want to say: nicely done! I've used the repo as a source of inspiration on how to get certain things done, especially what to include in
customize_airootfs.sh.I’ve always used Lyx. It suited my needs because I rarely needed to use LaTeX, mostly to write papers in school - functionality it provided had always been enough for my use-case, YMMV though
Looks awesome!
Nice one, I haven’t heard of QubeOS before - sounds like an interesting project.
More containers!
Tilix is my fav <3
It's pretty simple to do. If you have any questions I'll try to answer them as best as I can.
Yup DNS looks fine. A quick search showed this can happen with systemd when ntpd is started before the network is up.
Two solutions I saw was either enabling
ntpdate.serviceaka# systemctl enable ntpdate.serviceOr
Edit
ntpd.serviceand add the following for AfterAfter=syslog.target network.target ntpdate.service sntp.serviceYeah looks like DNS for sure. If you have bind tools installed I’d start with
dig 0.centos.pool.ntp.orgto see what is happening.Arch is run locally and everything else via SSH. All of the PCs at home have
OpenSSHserver running restricted to local LAN and WireGuard private subnet. This way I don’t have to walk to another room to get to another PC - laziness ftw!My DE and theming are pretty basic.
Details:
What is what:
Edit: someone had the same issue here: https://github.com/xflux-gui/fluxgui/issues/122
Proposed solution was to install
libappindicator-gtk3Are you using GNOME as your DE?
Looks clean! I’ve been content with Manjaro - runs on all of my PCs at home, even on my home server. Having AUR is so convenient. I’ve been thinking if giving Intel’s Clear Linux a go, but until it has partitioning tools in the installer - Imma pass. Running it in a VM is meh.
I guess they way I look at it is why would you NOT use firewall? Even if your home devices don’t have anything of value to malicious actors - would you really want some a**hole lurking in your home network?
Plus as some have mentioned - don’t let your devices to be used for DDoS.
ufwis pretty darn simple - you don’t need to specify any ports, etc.The simplest
ufwrule-set for a home network behind NAT:If your PC does not have a file-server or OpenSSH server - could probably just deny all incoming without even allowing home LAN. On my devices the rules look something like:
Idk just makes me sleep better at night even if it’s unnecessary/ placebo.
PS I've made a gist on github for this, it's much easier to read compared to reddit's codeblocks. https://gist.github.com/SirToffski/47b88acffe58ea268ffe32d780057481
There will be a lot of output, but the most relevant parts are below
INPUTchain - traversed if the final destination of the packet is the local machine - deny all by defaultFORWARDchain - if final destination is elsewhere (i.e. not local machine) - default dropOUTPUTchain - allow outgoing trafficAdd custom chains to specify what happens before/after
INPUT/FORWARD/OUTPUTRules for rate-limiting
Rules for not-local
Rule to skip to policy which says to deny INPUT
As we'll see below, this will allow outgoing traffic
This is where our custom rules will be
Rules to rate limit connections
In case of INPUT, "jump" to our custom before/after input rules
In case of FORWARD, "jump" to our custom before/after forward rules
In case of OUTPUT, "jump" to our custom before/after output rules
Drop the following input:
Rate-limit and log blocked forward
Allow packets that are part of an already established communication with the network.
Allow ICMP forward
Do not filter loop-back
Allows packets that are part of an already established communication with the network.
Drop traffic that is not part of already established flows
Allow input ICMP
Allow traffic to local machine with UDP source port 67, destination port 68
Again, we skip loopback interface
Allow established outgoing flows
In this case this will be empty since we allowed all outgoing traffic
Again, rate-limiting rules
The following three rules end with 'return' which means return from the current chain and continue evaluation at the next rule in the last chain. If issued in a base chain, it is equivalent to accept.
Default behaviour is to drop non-local
Again we can send specific FORWARD traffic to this policy which will drop it, in this case we did not specify any
Check out above when we asked specific rules to 'jump here', like
udp dport 137 counter jump my-skip-to-policy-input. Any traffic directed here will be droppedWe allow all outgoing
Allow new outgoing flows
We rate-limit incoming on port 22 used for SSH
FINALLY; Originally requested rules. We accept all incoming on
priv0On
eth0we only accept incoming with destination tpc port 22 for SSH - though it will be wise to change the port.Again we rate limit SSH attempts
A bit of a hack here - if you have UFW installed and are comfortable using it - write your ruleset with UFW and the use
iptables-translatetool.For example
Create the following ruleset in UFW:
Enable UFW, save rules as iptables, translate to nftables, deactivate ufw if needed.
Here's an example UFW ruleset which we will translate to nftables:
End of this list.
Back to top