summaryrefslogtreecommitdiffstats
path: root/debian/README.source
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 13:54:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 13:54:39 +0000
commit7f4e44f9469d8dcf6f95e07d0f5bb340f8830bfb (patch)
tree07741545f80a7f29822eb571d02db8dd0349674f /debian/README.source
parentAdding upstream version 0.0~git20221206.8b7148f. (diff)
downloadwasi-libc-debian/0.0_git20221206.8b7148f-1.tar.xz
wasi-libc-debian/0.0_git20221206.8b7148f-1.zip
Adding debian version 0.0~git20221206.8b7148f-1.debian/0.0_git20221206.8b7148f-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/README.source')
-rw-r--r--debian/README.source18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..e770741
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,18 @@
+Embedded MUSL
+=============
+
+This package embeds a copy of MUSL because its main reverse-dependency (rustc)
+is very sensitive to its exact ABI and we do not want to have to co-ordinate
+upgrades with the main musl package in Debian.
+
+Updating the package
+====================
+
+- In ``rust.git`` run ``debian/rules update-version`` as normal.
+- Look at ``debian/control`` and get the commit hash from Build-Depends-Indep
+- commit=<THE COMMIT HASH YOU GOT>
+- git remote add upstream https://github.com/WebAssembly/wasi-libc || true
+- git fetch upstream && git checkout upstream-orig && git reset --hard "$commit" && git push origin
+- git checkout master && uscan --verbose
+- gbp import-orig ../wasi-libc_0.0~git*.$commit.orig.tar.xz
+- Finally, update debian/* as normal