mirror of
https://github.com/unman/shaker.git
synced 2025-02-08 18:58:52 -05:00
Merge pull request #21 from tlaurion/patch-1
prelininary fixes to git.spec
This commit is contained in:
commit
49ae7407fe
12
git.spec
12
git.spec
@ -26,8 +26,8 @@ git init --bare
|
|||||||
```
|
```
|
||||||
|
|
||||||
## prepare client
|
## prepare client
|
||||||
Then prepare a qube by running:
|
Then prepare a qube by running in dom0:
|
||||||
`qubesctl --skip0-dom0 --targets=QUBE state.apply git.install_client`
|
`sudo qubesctl --skip0-dom0 --targets=QUBE state.apply git.install_client`
|
||||||
|
|
||||||
## Work in the client
|
## Work in the client
|
||||||
Configure git, as necessary.
|
Configure git, as necessary.
|
||||||
@ -39,17 +39,17 @@ git init
|
|||||||
add-remote sg
|
add-remote sg
|
||||||
```
|
```
|
||||||
You can then use that repository as usual, making commits.
|
You can then use that repository as usual, making commits.
|
||||||
To push to sys-git you must first-
|
To push to sys-git you must first:
|
||||||
`git push --set-upstream sg master`
|
`git push --set-upstream sg master`
|
||||||
|
|
||||||
After making more commits,
|
After making more commits:
|
||||||
`git push `
|
`git push `
|
||||||
|
|
||||||
# Working with an existing repository
|
# Working with an existing repository
|
||||||
|
|
||||||
## prepare client, if necessary
|
## prepare client, if necessary
|
||||||
Prepare a qube by running:
|
Prepare a qube by running:
|
||||||
`qubesctl --skip0-dom0 --targets=QUBE state.apply git.install_client`
|
`sudo qubesctl --skip0-dom0 --targets=QUBE state.apply git.install_client`
|
||||||
|
|
||||||
## Clone the repository in the client
|
## Clone the repository in the client
|
||||||
Configure git, as necessary.
|
Configure git, as necessary.
|
||||||
@ -99,7 +99,7 @@ cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
|
|||||||
%post
|
%post
|
||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
qubesctl state.apply git.create
|
qubesctl state.apply git.create
|
||||||
qubesctl --skip-dom0 --targets=sys-git state.apply monero.install
|
qubesctl --skip-dom0 --targets=sys-git state.apply git.install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
Loading…
x
Reference in New Issue
Block a user