unikernels: strip binary in bin, preserve a debug one

This commit is contained in:
Robur 2021-06-25 10:06:10 +00:00
parent 6f6489691d
commit c992a52f23
20 changed files with 40 additions and 0 deletions

View file

@ -44,5 +44,7 @@ build: [ "sh" "-exc" "cd mirage && fetch https://github.com/sg2342/caldavzap/arc
synopsis: "This is a dummy"
install: [
[ "cp" "mirage/caldav.hvt" "%{bin}%/caldav.hvt" ]
[ "strip" "%{bin}%/caldav.hvt" ]
[ "cp" "mirage/caldav.hvt" "%{prefix}%/caldav.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/caldav.git" }

View file

@ -48,5 +48,7 @@ build: [ "sh" "-exc" "cd mirage && fetch https://github.com/sg2342/caldavzap/arc
synopsis: "This is a dummy"
install: [
[ "cp" "mirage/caldav.hvt" "%{bin}%/caldav.hvt" ]
[ "strip" "%{bin}%/caldav.hvt" ]
[ "cp" "mirage/caldav.hvt" "%{prefix}%/caldav.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/caldav.git#future-le" }

View file

@ -47,5 +47,7 @@ build: [ "sh" "-exc" "cd mirage && fetch https://github.com/sg2342/caldavzap/arc
synopsis: "This is a dummy"
install: [
[ "cp" "mirage/caldav.hvt" "%{bin}%/caldav.hvt" ]
[ "strip" "%{bin}%/caldav.hvt" ]
[ "cp" "mirage/caldav.hvt" "%{prefix}%/caldav.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/caldav.git#future-robur" }

View file

@ -42,5 +42,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "letsencrypt.hvt" "%{bin}%/letsencrypt.hvt" ]
[ "strip" "%{bin}%/letsencrypt.hvt" ]
[ "cp" "letsencrypt.hvt" "%{prefix}%/letsencrypt.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/dns-letsencrypt-secondary.git" }

View file

@ -45,5 +45,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "letsencrypt.hvt" "%{bin}%/letsencrypt.hvt" ]
[ "strip" "%{bin}%/letsencrypt.hvt" ]
[ "cp" "letsencrypt.hvt" "%{prefix}%/letsencrypt.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/dns-letsencrypt-secondary.git#future" }

View file

@ -39,5 +39,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "primary_git.hvt" "%{bin}%/primary_git.hvt" ]
[ "strip" "%{bin}%/primary_git.hvt" ]
[ "cp" "primary_git.hvt" "%{prefix}%/primary_git.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/dns-primary-git.git" }

View file

@ -42,5 +42,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "primary_git.hvt" "%{bin}%/primary_git.hvt" ]
[ "strip" "%{bin}%/primary_git.hvt" ]
[ "cp" "primary_git.hvt" "%{prefix}%/primary_git.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/dns-primary-git.git#future" }

View file

@ -33,5 +33,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "secondary.hvt" "%{bin}%/secondary.hvt" ]
[ "strip" "%{bin}%/secondary.hvt" ]
[ "cp" "secondary.hvt" "%{prefix}%/secondary.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/dns-secondary.git" }

View file

@ -36,5 +36,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "secondary.hvt" "%{bin}%/secondary.hvt" ]
[ "strip" "%{bin}%/secondary.hvt" ]
[ "cp" "secondary.hvt" "%{prefix}%/secondary.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/dns-secondary.git#future" }

View file

@ -54,5 +54,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit -p 80
synopsis: "This is a dummy"
install: [
[ "cp" "canopy.hvt" "%{bin}%/canopy.hvt" ]
[ "strip" "%{bin}%/canopy.hvt" ]
[ "cp" "canopy.hvt" "%{prefix}%/canopy.hvt.debug" ]
]
url { src: "git+https://github.com/hannesm/Canopy.git#future-full" }

View file

@ -38,5 +38,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt && mirage build" ]
synopsis: "This is a dummy"
install: [
[ "cp" "nqsbio.hvt" "%{bin}%/nqsbio.hvt" ]
[ "strip" "%{bin}%/nqsbio.hvt" ]
[ "cp" "nqsbio.hvt" "%{prefix}%/nqsbio.hvt.debug" ]
]
url { src: "git+https://github.com/mirleft/nqsb.io.git#future" }

View file

@ -37,5 +37,7 @@ build: [ "sh" "-exc" "cd mirage-router && mirage configure -t hvt --allocation-p
synopsis: "This is a dummy"
install: [
[ "cp" "mirage-router/ovpn_router.hvt" "%{bin}%/ovpn_router.hvt" ]
[ "strip" "%{bin}%/ovpn_router.hvt" ]
[ "cp" "mirage-router/ovpn_router.hvt" "%{prefix}%/ovpn_router.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/openvpn.git#robur" }

View file

@ -41,5 +41,7 @@ build: [ "sh" "-exc" "mirage configure -t xen --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "qubes_firewall.xen" "%{bin}%/qubes_firewall.xen" ]
[ "strip" "%{bin}%/qubes_firewall.xen" ]
[ "cp" "qubes_firewall.xen" "%{prefix}%/qubes_firewall.xen.debug" ]
]
url { src: "git+https://github.com/hannesm/qubes-mirage-firewall.git#arp-2.3.0" }

View file

@ -40,5 +40,7 @@ build: [ "sh" "-exc" "mirage configure -t xen --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "qubes_firewall.xen" "%{bin}%/qubes_firewall.xen" ]
[ "strip" "%{bin}%/qubes_firewall.xen" ]
[ "cp" "qubes_firewall.xen" "%{prefix}%/qubes_firewall.xen.debug" ]
]
url { src: "git+https://github.com/hannesm/qubes-mirage-firewall.git#arp-2.3.0" }

View file

@ -36,5 +36,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "retreat.hvt" "%{bin}%/retreat.hvt" ]
[ "strip" "%{bin}%/retreat.hvt" ]
[ "cp" "retreat.hvt" "%{prefix}%/retreat.hvt.debug" ]
]
url { src: "git+https://github.com/mirage/retreat.mirage.io.git#future" }

View file

@ -54,5 +54,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit -p 80
synopsis: "This is a dummy"
install: [
[ "cp" "canopy.hvt" "%{bin}%/canopy.hvt" ]
[ "strip" "%{bin}%/canopy.hvt" ]
[ "cp" "canopy.hvt" "%{prefix}%/canopy.hvt.debug" ]
]
url { src: "git+https://github.com/hannesm/Canopy.git#future-robur" }

View file

@ -33,5 +33,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "tlstunnel.hvt" "%{bin}%/tlstunnel.hvt" ]
[ "strip" "%{bin}%/tlstunnel.hvt" ]
[ "cp" "tlstunnel.hvt" "%{prefix}%/tlstunnel.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/tlstunnel.git" }

View file

@ -36,5 +36,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "tlstunnel.hvt" "%{bin}%/tlstunnel.hvt" ]
[ "strip" "%{bin}%/tlstunnel.hvt" ]
[ "cp" "tlstunnel.hvt" "%{prefix}%/tlstunnel.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/tlstunnel.git#monitoring" }

View file

@ -45,5 +45,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "unipi.hvt" "%{bin}%/unipi.hvt" ]
[ "strip" "%{bin}%/unipi.hvt" ]
[ "cp" "unipi.hvt" "%{prefix}%/unipi.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/unipi.git#main" }

View file

@ -47,5 +47,7 @@ build: [ "sh" "-exc" "mirage configure -t hvt --allocation-policy=best-fit && mi
synopsis: "This is a dummy"
install: [
[ "cp" "unipi.hvt" "%{bin}%/unipi.hvt" ]
[ "strip" "%{bin}%/unipi.hvt" ]
[ "cp" "unipi.hvt" "%{prefix}%/unipi.hvt.debug" ]
]
url { src: "git+https://github.com/roburio/unipi.git#with-kv" }