Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build/images/browser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ EOF
EOF
}

# Firefox's top-level LICENSE only points to toolkit/content/license.html, the texts of everything it
# carries (its about:license): that file is taken too, and must be there.
s_browser_licences() {
echo "$(source_licences < <("${KRYPTIK_ROOT}/tools/fetch-sources.sh" --list-image browser)) licence files"
echo "$(source_licences '^[^/]+/toolkit/content/license\.html$' \
< <("${KRYPTIK_ROOT}/tools/fetch-sources.sh" --list-image browser)) licence files"
test -s /usr/share/licenses/firefox/toolkit/content/license.html
}
3 changes: 2 additions & 1 deletion build/stages/04-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ build_image() { # build_image NAME
done
MOUNTED="$top"
mount -t overlay overlay -o "lowerdir=${lowers}${SYSROOT},upperdir=${top}/upper,workdir=${top}/overlay-work" "${top}/sysroot"
env KRYPTIK_WORK="$top" KRYPTIK_KRYPTIKD_BIN= KRYPTIK_WLPROXY_BIN= \
# The Rust binaries are the base system's; a mount point for one would be a file the image adds.
env KRYPTIK_WORK="$top" KRYPTIK_KRYPTIKD_BIN= KRYPTIK_WLPROXY_BIN= KRYPTIK_STICK_BIN= \
"$CHROOTD" run /kryptik/build/stages/04-images.sh --inside "$name"
unmount_image "$top"
MOUNTED=""
Expand Down
Loading