You are not logged in.

#1 2024-09-02 14:34:52

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,977

[Solved] Use git sources from SRCDEST outside of makepkg

Under my SRCDEST folder resides mesa/ which stores the git main tree of the mesa project.

$ ls mesa/
branches  config  description  FETCH_HEAD  HEAD  hooks  info  objects  packed-refs  refs
$ 

When running makepkg it "converts" that to a tree as seen at https://gitlab.freedesktop.org/mesa/mesa and stores it in SRCDIR .

Occasionally I create patches for mesa and need a full uptodate tree of it to ensure the patch will ap0ply cleanly .

I can use git clone https://gitlab.freedesktop.org/mesa/mesa.git to get it, but that means re-downloading stuff .

Using the code that's already stored under SRCDEST seems much smarter and faster (and requires less traffic) .

What command)s) do I need to re-use the code under SRCDEST outside of makepkg ?

Last edited by Lone_Wolf (2024-09-02 15:04:09)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#2 2024-09-02 14:51:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved] Use git sources from SRCDEST outside of makepkg

Ah, you mean you just want to clone it to some other working directory??

git clone $SRCDEST/$gitname /path/to/new/dir

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-09-02 15:03:49

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,977

Re: [Solved] Use git sources from SRCDEST outside of makepkg

Thanks, works fine.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB