-
zedmatrix
so my BLFS depend check
bpa.st/TUSA nsITobin
-
zedmatrix
haha i just made a chicken and egg dep
-
nsITobin
didi you
-
zedmatrix
yea c-ares/nghttp2/cmake
-
zedmatrix
c-ares is just optional in nghttp2
-
zedmatrix
nsITobin: sup
-
zedmatrix
omg the bash env is flakely
-
zedmatrix
my new packInstall on the laptop worked for linux-pam and shadow installs, but via ssh into a qemu the $ZSRC var seemd unset
-
nsITobin
ssh is a pty
-
nsITobin
does that change how bash is invoked?
-
zedmatrix
i dunno, cause the depend check failed and its now re-installing cmake
-
nsITobin
bb
-
zedmatrix
oh wait i think i was trying to compare a value and not a bash string
-
zedmatrix
nsITobin: i think my problem was the shitty if-elif-else inside an if-fi block
-
nsITobin
-
zedmatrix
ok got it depend check/installer
bpa.st/FEUA
-
zedmatrix
the depend part is in the sourced install.sh
-
zedmatrix
hmm nsITobin is that guy actually playing or is it just dubbed over
-
zedmatrix
tho it sounds good
-
zedmatrix
now i can create a BLFS pack tar
-
zedmatrix
i am not even gonna attempt the version checking yet
-
nsITobin
zedmatrix: he played it
-
nsITobin
the guitar parts
-
nsITobin
i assume he produced the not-guitar parts with digital music
-
nsITobin
-
zedmatrix
still tweaking my packInstall
-
nsITobin
-
nsITobin
theme of zbuild
-
zedmatrix
tho i might try emacs sometime
-
nsITobin
zedmatrix: you are trying to be a systemlord right?
-
zedmatrix
lol not really, i have just finally made it to blfs
-
zedmatrix
nsITobin: this is an install.sh for emacs
bpa.st/4VJA
-
nsITobin
zedmatrix: so i am confused,, is this running zbuild?
-
nsITobin
the cpp program
-
zedmatrix
yep those install.sh are inside a package tar, which packInstall sources and executes
-
zedmatrix
nsITobin: you could have anything in the zbuild_exec that execs i guess
bpa.st/DMQA
-
zedmatrix
nsITobin: cool made 2 tars dash-{major,minor} defining if it takes over the symlink
-
nsITobin
be back
-
zedmatrix
nsITobin: i am hoping to be able to just do ./packInstall xfce4
-
zedmatrix
i guess this is ABLFS :)
-
nsITobin
zedmatrix: when you add a package manager that isn't just fakeroot destdir and manually extracting tarballs.. you MUST make changes
-
nsITobin
that is what i find lfs so great for
-
nsITobin
it gives you the baseline
-
nsITobin
one more recon
-
nsITobin
yay for openbox being able to declare position and geometry as well as undecorating
-
nsITobin
winamp and irc dominate this small monitor
-
nsITobin
now i don't have to position every damned time
-
nsITobin
openbox really is a great window manager
-
zedmatrix
well so far having the start of PM is having a database
-
zedmatrix
yea i like openbox, what is really funny is mpv on twm
-
zedmatrix
even firefox on twm :)
-
nsITobin
sufficient
-
nsITobin
-
nsITobin
zedmatrix:
-
nsITobin
i am back to building again
-
nsITobin
zedmatrix: already better than the makefile version
-
nsITobin
actually errored out properly
-
nsITobin
cause I didn't have the 6.10.14 source
-
zedmatrix
this is what i am building
bpa.st/SWQQ
-
zedmatrix
nsITobin:
-
nsITobin
ye i see
-
nsITobin
why JUST tar not some good compression
-
zedmatrix
well cause they include the tar.{xz,bz2,gz} sources
-
zedmatrix
yea sometimes Makefile can be cumbersome
-
zedmatrix
those .tar files are like a .rpm
-
nsITobin
but single target dispatch with lists.. it does fine with sure i could do it with bash only but make has a few advantages
-
nsITobin
.. what they are i can't say.. but trust me there are totally some
-
nsITobin
lol
-
nsITobin
zedmatrix: rpm files are compressed cpio files with binary metadata
-
nsITobin
srcrpm files are simple cpio archives
-
nsITobin
but rpmbuild does accept simple tarball sources as well.. but won't construct them of course
-
zedmatrix
well these are just simple tar > include source tar + zbc + simple install source script + any patches
-
nsITobin
zedmatrix: may as well use zip for that
-
nsITobin
zip is simpler
-
zedmatrix
ON LINUX that is VERBOTEM!
bpa.st/JEPQ
-
nsITobin
zedmatrix: use zip ... anyway
-
nsITobin
:P
-
nsITobin
or I WILL
-
nsITobin
I am sure I can add a way to unzip srcrpm zipforms
-
zedmatrix
zip is a dead archive format... thats why it was removed from BLFS
-
nsITobin
zip is forever
-
nsITobin
pk4lyfe
-
zedmatrix
so that is my simple packBuild.sh script
-
zedmatrix
it parses the zbc , downloads the sources, and creates a dir + script
-
nsITobin
zedmatrix: i am getting strange errors when i pass into the chroot
-
nsITobin
from getcwd and cd and shit
-
zedmatrix
what is a strange error ?
-
zedmatrix
bbiab
-
nsITobin
-
zedmatrix
you are running on a vps?
-
zedmatrix
i bet your pwd is pointing to before the chroot, so the getcwd cant work nsITobin
-
nsITobin
no i am not running on anything but bare metal
-
nsITobin
as root
-
nsITobin
dir
-
zedmatrix
have you ran a test before a getcwd... echo $(pwd) ?
-
zedmatrix
it seems as if pwd -> where you were not are
-
zedmatrix
i bet executing make -C /setup/packages build-sysroot... is causing the error as the cwd doesn't exist any more
-
nsITobin
pwd is blank
-
nsITobin
zedmatrix:
-
nsITobin
mklfs is able to change directory
-
nsITobin
but the script under it can't deal
-
nsITobin
hold on
-
nsITobin
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
-
nsITobin
that was the result of the test past mklfs
-
nsITobin
there may be a fix for this
-
zedmatrix
maybe a cd / at the start of your chroot exec script nsITobin
-
nsITobin
zedmatrix: great
-
nsITobin
then it won'
-
nsITobin
know where its self is
-
nsITobin
or anything else
-
nsITobin
also
-
nsITobin
it didn't work
-
nsITobin
it is i think failing cause of make
-
zedmatrix
>> {target}/setup should exist so then you can cd from there
-
nsITobin
zedmatrix: then the script needs to KNOW it is in a chroot
-
zedmatrix
use the cat /proc then
-
nsITobin
i don't even know what that means
-
nsITobin
you assume i know about linux internals.. i don't
-
nsITobin
and won't until I get past this and run my own stuff
-
nsITobin
also proc is bloody well mounted
-
zedmatrix
this is what i use to detect chroot
bpa.st/WVWQ
-
nsITobin
okay what does that mean
-
nsITobin
what am i reading
-
nsITobin
what am i testing
-
nsITobin
what is the actual condition
-
nsITobin
throwing code at me when I don't know what is going on is worthless
-
zedmatrix
its detecting the /proc/1/root exec functionality
-
nsITobin
and what does that mean?
-
nsITobin
how is it different on not chroot
-
nsITobin
what are the values
-
nsITobin
I don't know anything about the vfs
-
nsITobin
what I know is on display
-
zedmatrix
-
nsITobin
zedmatrix: that doesn't allow me to invoke a chroot to make directly
-
nsITobin
does it
-
nsITobin
and i don't get what changed
-
nsITobin
because from the script's perspective nothing actually has
-
zedmatrix
yes it has changed, when u invoke chroot, it creates a sub shell that is isolated from the first shell
-
nsITobin
zedmatrix: i mean from the build scripts perspective NOTHING HAS CHANGED it is still at the same depth with the same commands ..
-
nsITobin
in the chroot it is identical to when it was working
-
nsITobin
except how I am invoking it
-
nsITobin
the only fuckin difference is bind mounting setup instead of always copying setup INTO the intended sysroot dir
-
nsITobin
but i THOUGHT that shit was supposed to work
-
nsITobin
zedmatrix: apperently I have been misinformed.
-
nsITobin
cause it is still makefile -> somedir/somescript
-
nsITobin
and nothing otherwise has changed
-
nsITobin
and this all started my issues when I started bindmounting
-
nsITobin
SO
-
nsITobin
guess what I will be trying next
-
zedmatrix
the originating script is on hold til the chroot script has finished
-
nsITobin
ok
-
nsITobin
and how does that effect the environment IN the chroot
-
nsITobin
i don't think you are understanding what is happening
-
nsITobin
sysroot is elsewhere
-
nsITobin
i bind mount the setup directory.. baseos repo to sysroot/setup then chroot in directly executing make -C /setup/packages build-sysroot .. from that point on getcwd fucks up royally
-
zedmatrix
maybe you are trying to invoke the cmd from the wrong location
bbs.archlinux.org/viewtopic.php?id=254295
-
nsITobin
in any call
-
zedmatrix
the /bin/bash is relative to the chroot env
-
nsITobin
are you querying my shit through AI again
-
nsITobin
cause you sound like you are responding qith AI suggestions
-
zedmatrix
also there should be a valid bash with all deps
-
nsITobin
omfg
-
nsITobin
zedmatrix: sorry, i was really frustrated and i hadn't eaten anything today.. I ate and feel better.
-
nsITobin
the issue seems to be that mount --bind are not sutiable for for any active scripting in a chroot
-
nsITobin
i undid that and copyed over and it worked.. except I forgot grep
-
nsITobin
in my makefile
-
nsITobin
which now it works properly THAT error showed up
-
nsITobin
zedmatrix: I have been working on this solid when not doing basic house things for weeks.. either directly or researching
-
nsITobin
maybe i need a break
-
zedmatrix
i get too involved into something too and forget to eat
-
zedmatrix
i usually start lunch and takes me like an hour
-
zedmatrix
i just finished my cereal bars ,
0x0.st/85iq.jpg
-
zedmatrix
its a recipe variant of the rice krispies except with dried fruit and peanuts