Skip to content
New issue

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

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

Already on GitHub? # to your account

Initialisation of keys for pacman #95

Closed
wants to merge 1 commit into from

Conversation

abicorios
Copy link

Without these two rows

pacman-key --init
pacman-key --populate archlinuxarm

I must print it by my hands. Why? It can be made along running install script.
See issue 86

@FreshMosh
Copy link

FreshMosh commented Jul 22, 2018

It is run by the install script.
It would be of more use to search for the reason running the "keys"-script (which, beneath other things, will initialize the keyring) succesfully does not work right now.

@abicorios
Copy link
Author

It worked on 10 Dec 2017. I remember it, I used TermuxArch in my project.

@SDRausty
Copy link
Owner

SDRausty commented Jul 23, 2018

Adding printf "./root/bin/keys\n" >> root/bin/$binfnstp in line 150 in necessaryfunctions.sh after running setupTermuxArch.sh bloom resolves this new issue of cannot install because of keyring error.

elif [ $cpuabi = $cpuabix86 ] || [ $cpuabi = $cpuabix8664 ];then                        
printf "pacman -Rc systemd --noconfirm --color=always 2>/dev/null ||:\n" >> root/bin/$binfnstp                                                          
fi                                                                              
printf "./root/bin/keys\n" >> root/bin/$binfnstp                                
if [ $cpuabi = $cpuabix86 ] || [ $cpuabi = $cpuabix8664 ];then                          
printf "pacman -Syu sed --noconfirm --color=always 2>/dev/null ||:\n" >> root/bin/$binfnstp

@SDRausty
Copy link
Owner

This 6c9c119 commit should resolve the keyring issue in this pull request.

@SDRausty
Copy link
Owner

setupTermuxArch.sh refresh can now be used to (re)generate keys too: https://sdrausty.github.io/TermuxArch/docs/outputarmv720180725refresh.txt

@defendre
Copy link

look up u

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

Successfully merging this pull request may close these issues.

4 participants