Browse Source

CONDA

master
pjotrp 5 years ago
parent
commit
4acc2c987f
  1. 9
      CONDA.org
  2. 15
      DISTRIBUTE.org

9
CONDA.org

@ -176,9 +176,12 @@ ldd hellop
/lib64/ld-linux-x86-64.so.2 (0xi00007fa20f1aa000)
#+end_src
and it still works. To relocate stuff, I'll want to retain the hash
value. But this is just a first try. I think I have the pieces now to
relocate Guix built binaries into other dirs.
and it still works. To patch the interpreter ld-xxx.so.2 also patchelf
can be used.
To relocate stuff, I'll want to retain the hash value. But this is
just a first try. I think I have the pieces now to relocate Guix built
binaries into other dirs.
Other tools of interest for dealing with elf binaries are [[http://linux.die.net/man/1/readelf][readelf]],
[[http://www.gentoo.org/proj/en/hardened/pax-utils.xml][dumpelf]], [[http://www.eresi-project.org/][eresi]] and [[https://sourceware.org/binutils/docs/binutils/objcopy.html][objdump]].

15
DISTRIBUTE.org

@ -144,6 +144,17 @@ This implies we can combine any number of software packages with
dependencies and tar it all up for distribution. It will also unpack
in a Docker container without special privileges.
* Install script
* Create relocatable installer
WIP
Starting from above tar ball we can make a relocatable binary
installer using a few tricks. Unpack the tar ball somewhere
: mkdir hello
: cd hello
: tar xvzf ../test.tgz
Now the files should be in ./gnu/store
: ls ./gnu/store
Next
Loading…
Cancel
Save