Created
September 18, 2022 20:39
-
-
Save cgmb/770297f0662dcb29fcdbb8aee8aee233 to your computer and use it in GitHub Desktop.
Working with Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get install -y build-essential devscripts packaging-dev git vim | |
useradd -G sudo,video --shell /bin/bash --create-home cgmb | |
echo 'cgmb ALL=(ALL:ALL) NOPASSWD:ALL' >> /etc/sudoers | |
gbp clone https://salsa.debian.org/rocm-team/rocm-hipamd.git | |
cd rocm-hipamd | |
gbp export-orig | |
dch --nmu | |
mk-build-deps --install --root-cmd sudo --remove | |
git clean -dfx | |
gbp buildpackage --git-ignore-new | |
# patch: | |
gbp pq import | |
git add -u | |
git commit -m 'wip' | |
gbp pq export --commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment