Build failed error too general
GitHub
chore fix type · m3m3-0s/meme-os@21a3dfe
Contribute to m3m3-0s/meme-os development by creating an account on GitHub.
29 Replies
how can i make it work in build time
this is the change-hostname.sh
or can i do this using the systemd module
I think that only using
hostnamectl
is sufficient
but not sure if even that works in build-timehostnamectl is a systemd thing
yes
doesnt worrk
unless systemd module has a feature for that?
hmm, I'm outta ideas then
no, it doesn't have
do u have any idea why the error is occuring
script looks good
yes, but that doesn't work in build-time
why not
Not sure for the specific reason why
how does bazzite achieve this then? they change /etc/hostname
they maybe change
/usr/etc/hostname
instead of /etc/
what made u think of that
they are the same?
ostree doesn't allow to add or modify
/etc/hosts
in build-time, but adding the file in /usr/etc/hosts
works
maybe it's the similar case hereoh so it is just that during build time /etc/hostname is read-only
yeah, I believe that is the case
did set-hostname on my bazzite rn then cat /etc/hostname
it did change the file, so it is not read only?
Maybe Bazzite does this in runtime
didn't look into it
during runtime hhmm
you did that in runtime
that's expected to work
how can i do a runtime change with bluebuild?
it's basically a systemd service which fires script in
/usr/bin/
that's how some of those runtime changes are generally doneso basically i create a script that is located in /usr/bin/ and itll fire automatically?
that & for it to fire automatically, systemd service needs to be made
which is enabled by defualt ig, if not i use the systemd module then thanks
isn't setting the hostname something a local user should do themselves?
usually yes, but by default bazzite ships it with their own hostname, and I'm planning on publicly sharing my os
tho I've managed to do it
maybe it's in the iso? idk
ye maybe actually tho I've tweaked it either way