Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

baseinstall cannot continue #5

Open
renshijun opened this issue Dec 26, 2018 · 30 comments
Open

baseinstall cannot continue #5

renshijun opened this issue Dec 26, 2018 · 30 comments

Comments

@renshijun
Copy link

when I follow the bootstrap readme.md , ./venom/baseinstall cannot continue. It is scratch install -d xxx that says xxx is not installed.

scratch install --no-dep readline
Package 'readline' not installed.

when I look at the scratch file, the problem may be

installpkg() {

   if [ "$NO_DEP" = 1 ]; then
            for ii in ${PKGNAME[@]}; do
                    if [ ! $(getportpath $ii) ]; then
                            echo "Package '$ii' not found."
                    elif ! isinstalled $ii; then                            #here 
                            echo "Package '$ii' not installed."
                            return 1
                    else
                            pushd $(getportpath $ii)
                                    pkgbuild -i --no-hook ${OPTS[@]}
                                    if [ $? != 0 ]; then
@emmett1
Copy link
Collaborator

emmett1 commented Dec 27, 2018

hey,
its been a while i'm updating bootstrap script and since then scratchpkg got many changes.
i will take a look at bootstrap script soon.

btw, you can get the iso of this distro at here

@renshijun
Copy link
Author

The iso boot smoothely to the splash screen. But either boot venom or debug selection goes to:
Booting the kernel.
Encountered a problem!
Dropping you to a shell.
sh: cannot set terminal process group (-1):
sh: no job control in this shell
sh-4.4#

@emmett1
Copy link
Collaborator

emmett1 commented Dec 28, 2018

Its initramfs inside the iso bugs. Also happen to my friend's laptop yesterday. Initramfs script does not load necessary modules for usb port and cant detect thumbdrive that contain venom iso. It should work just fine in virtualbox.
To bad i found the bugs right after i upload the iso. The bugs has been fixed and I will upload new iso in few days.

Alternatively you can create your own iso using script here but its gonna take a long time if you include many packages because you need to compile everything.

@renshijun
Copy link
Author

I hope to see your new perfect iso.

@renshijun
Copy link
Author

I have tested your new xorg iso. It is failed to get the splash screen. can load the ilinux.c32?

@emmett1
Copy link
Collaborator

emmett1 commented Dec 31, 2018

Thats weird never had that problem before.
How did you burn the iso?

@renshijun
Copy link
Author

I have tested your new xorg iso. It is failed to get the splash screen. can load the ilinux.c32? the base iso boot up ok.

@renshijun
Copy link
Author

the mate iso is downloading now. I will try it. I use dd if=venom.....iso of=/dev/sdx. xorg iso cannot bootup.

@emmett1
Copy link
Collaborator

emmett1 commented Dec 31, 2018

owh ok, i will double check the xorg iso. btw, did you check the checksum of the xorg iso? maybe the file got corrupted, or the file got corrupted while i upload yesterday.

@renshijun
Copy link
Author

oh, I didn't check the checksum. wait....

@renshijun
Copy link
Author

[rsj@rsj-pc ~]$ md5sum venom-xorg-1.0-20181230.iso
c6a88b1c5d42433f54048ae7c1216357 venom-xorg-1.0-20181230.iso
[rsj@rsj-pc ~]$

@renshijun
Copy link
Author

The md5sum is equal to the sum of what you uploaded.

@emmett1
Copy link
Collaborator

emmett1 commented Dec 31, 2018

i think i'm upload the corrupted iso, its different md5sum on my main pc which i created the iso.
maybe it got corrupted when i copy to my external drive yesterday.
i will reupload the iso later.
for now use another working iso.
thanks for testing and the report :D

@emmett1
Copy link
Collaborator

emmett1 commented Dec 31, 2018

hey, new iso for xorg now updated.

@renshijun
Copy link
Author

The mate iso is ok. now I write this message in the mate live mode. congratulation!!!

@emmett1
Copy link
Collaborator

emmett1 commented Dec 31, 2018

nice. thats good all works now.
just ask me anything if you need help about venom linux :D

@renshijun
Copy link
Author

renshijun commented Dec 31, 2018

I am very interested in the making of the iso. From the toochain of LFS to the perfectly usable iso. Now, the baseinstall failed due to the scrach script. when I modified the script, installation is complete, but init script may be have problems since network and wireless is not recognized. please give a guide to compile the kernel.

@emmett1
Copy link
Collaborator

emmett1 commented Dec 31, 2018

the baseinstall script is so outdated. because it cannot build multilib system. it can only build pure64 system. maybe it will deprecated soon, or i will update it but only for pure64 system incase someone still wanna use it.

theres many guide in the web to compile the kernel. theres kernel ports for venomlinux, you can look at it.

btw, if you have telegram, you can join venomlinux group, maybe i can teach you anything i know in there
telegram group link

@renshijun
Copy link
Author

Does the base iso have the function to connect the wifi? the mate iso is connected by clicking and type the keys.

@emmett1
Copy link
Collaborator

emmett1 commented Dec 31, 2018

on base iso have wpa_supplicant to connect to wifi.
to use it run:

# wpa_passwphrase (wifi name) (wifi key) >> /etc/wpa_supplicant.conf
# /etc/rc.d/wpa_supplicant start

@renshijun
Copy link
Author

The base iso cannot connect the wifi because the base iso does not have the package linux-firmware installed. After installing the linux-firmware. issue the command:

wpa_passwphrase (wifi name) (wifi key) >> /etc/wpa_supplicant.conf

then

wpa_supplicant -B -i (wlanx) -Dwext -c /etc/wpa_supplicant.conf

by iwconfig to confirm the wifi works, issue:

dhcpcd (wlanx)

ping xxx.xxx.xxx.xxx to check the connection is ok.

the lfs svn changes continously, some package may fails. for example, vala, ports version is 0.42.3, but svn version is 0.42.4. the patch file ==> ERROR: Failed downloading 'vala-0.42.3-avoid_graphviz-1.patch'.

After manually edit vala's usr/ports/core/vala/spkgbuild, 0.42.3 ----> 0.42.4 and md5 change.
its ok.

@emmett1
Copy link
Collaborator

emmett1 commented Jan 5, 2019

i'm glad it works for you.
yeah blfs book always updated and they remove old files(patch) from its server. maybe after this patch i will keep in the ports directory and stay away from blfs links.

i will upload new iso soon, because of changes mkinitramfs scripts and newer kernel. i will include linux-firmware in all edition.

@renshijun
Copy link
Author

Can you add the ports of compiz-0.9.13.0? some problem exists in linking python lib.

@emmett1
Copy link
Collaborator

emmett1 commented Jan 6, 2019

I also got same error compiling compiz 0.9
I will add it into the repo when i can successfully compile it

@renshijun
Copy link
Author

renshijun commented Jan 7, 2019

It is ok now.
compiz_spkgbuild.txt
rename the above file to spkgbuild and copy it to /usr/ports/extra/compiz/
copy the following file to /var/cache/scratchpkg/sources
compiz_link_rpath.txt

@emmett1
Copy link
Collaborator

emmett1 commented Jan 7, 2019

spkgbuild you gave me still give me compile error.
http://dpaste.com/3DNZ1DV

@emmett1
Copy link
Collaborator

emmett1 commented Jan 7, 2019

Still got same error.

btw, i know how to use spkgbuild.. :D
i'm not copying to /usr/ports/extra/compiz/ because it will bother default repo
i'm creating separate repo in my home dir and add /home/emmett/tmp_ports to /etc/scratchpkg.repo
and i'm copy compiz_link_rpath.txt to current port dir then add compiz_link_rpath.txt in source array replace default broken link you gave

@renshijun
Copy link
Author

renshijun commented Jan 7, 2019

I installed compiz-0.9.13.1 and emerald-0.9.5 successfully, but cannot brings emerald up. Command "emerald -- replace" had no effect.

@renshijun
Copy link
Author

renshijun commented Jan 8, 2019

2019-01-08-085418_1488x1370_scrot
it's ok now for the compiz and emerald window manager.
I will install dockbarX soon.

@emmett1
Copy link
Collaborator

emmett1 commented Jan 11, 2019

wow thats nice.
you should make PR for your ports.
make PR into extra repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants