Here is a video of package build
three sources in one build
[OPEN] Run post install PKGBUILD script
- erikdubois
- Captain
- Posts: 5950
- Joined: Tue Nov 07, 2017 3:45 pm
- Location: Belgium
- Contact:
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
From your video I realized what I was doing wrong.
From one of your guides I set up an arch-chroot in which to build packages.
Then make packages in the chroot environment with a script.
The issue is that that with the above script the arch-chroot rebuilds itself after every call and removes any repos added to the pacman.conf file.
As shown in your video makepkg worked without issue.
Thanks for the help and all your guides
From one of your guides I set up an arch-chroot in which to build packages.
Then make packages in the chroot environment with a script.
Code: Select all
#!/bin/bash
CHROOT=$HOME/Documents/chroot
arch-nspawn $CHROOT/root pacman -Syu
makechrootpkg -c -r $CHROOT
As shown in your video makepkg worked without issue.
Thanks for the help and all your guides
- erikdubois
- Captain
- Posts: 5950
- Joined: Tue Nov 07, 2017 3:45 pm
- Location: Belgium
- Contact:
When using chroot then you edit the pacman.conf and/or mirrors files as well in there.
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.