Skip to content

Commit

Permalink
specify current release branch for git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Jan 14, 2025
1 parent 9fdeb14 commit 42720ed
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
15 changes: 11 additions & 4 deletions src/04.07. Prepare The PKGSRC Repos.pod
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ Clone the collections you need, but keep in mind that each subsequent
collection depends on the previous ones.

(chrooted) # cd /usr/src/
(chrooted) # git clone https://github.com/zeppe-lin/pkgsrc-core
(chrooted) # git clone https://github.com/zeppe-lin/pkgsrc-system
(chrooted) # git clone https://github.com/zeppe-lin/pkgsrc-xorg
(chrooted) # git clone https://github.com/zeppe-lin/pkgsrc-desktop
(chrooted) # git clone https://github.com/zeppe-lin/pkgsrc-core \
--branch 1.x
(chrooted) # git clone https://github.com/zeppe-lin/pkgsrc-system \
--branch 1.x
(chrooted) # git clone https://github.com/zeppe-lin/pkgsrc-xorg \
--branch 1.x
(chrooted) # git clone https://github.com/zeppe-lin/pkgsrc-desktop \
--branch 1.x

Where C<--branch 1.x> corresponds to the current Zeppe-Lin release
branch.

Edit F</etc/pkgman.conf> (see L<pkgman.conf(5)> for more information)
and enable the collections you cloned. By default, only
Expand Down
11 changes: 7 additions & 4 deletions src/06.02. Using The Pkgsrc.pod
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ pkgsrc collections (F<usr/src/pkgsrc*>). To obtain the collection
you need the first time, use C<git clone>. Example:

# cd /usr/src/
# git clone https://github.com/zeppe-lin/pkgsrc-core
# git clone https://github.com/zeppe-lin/pkgsrc-system
# git clone https://github.com/zeppe-lin/pkgsrc-xorg
# git clone https://github.com/zeppe-lin/pkgsrc-desktop
# git clone https://github.com/zeppe-lin/pkgsrc-core --branch 1.x
# git clone https://github.com/zeppe-lin/pkgsrc-system --branch 1.x
# git clone https://github.com/zeppe-lin/pkgsrc-xorg --branch 1.x
# git clone https://github.com/zeppe-lin/pkgsrc-desktop --branch 1.x

Where C<--branch 1.x> corresponds to the current Zeppe-Lin release
branch.

Edit F</etc/pkgman.conf> and enable the collections you cloned. By
default, only C<pkgsrc-core> collection is enabled. See
Expand Down

0 comments on commit 42720ed

Please sign in to comment.