<commit_before>#!/bin/sh
# Generate eReuseOS ISO.
#
# Based on instructions from
# <https://help.ubuntu.com/community/LiveCDCustomization>.

set -e

# Configurable regional settings.
KB_LAYOUT=${KB_LAYOUT:-us}  # see available in ``/usr/share/X11/xkb/symbols``
LOCALE=${LOCALE:-en_US.UTF-8}
TIMEZONE=${TIMEZONE:-Etc/UTC}

# Configurable settings.
WORK_DIR=${WORK_DIR:-dist/iso}

# Version-specific settings.
VERSION=$(cd erwb && python -Bc 'from __init__ import get_version; print get_version()')

# Seems that this iso has been dissapeared
# BASE_ISO_URL="http://ubuntu-mini-remix.mirror.garr.it/mirrors/ubuntu-mini-remix/15.10/ubuntu-mini-remix-15.10-i386.iso"
# BASE_ISO_SHA256="e9985f0bcb05678d87d62c3d70191aab7a80540dc17523d93c313aa8515e173e"
# Update to Zesty Zapus
BASE_ISO_URL="http://archive.ubuntu.com/ubuntu/dists/zesty/main/installer-i386/current/images/netboot/mini.iso"
BASE_ISO_SHA256="41a9579525680f496f4ac752a3b58e9964a3f010"

# Other derived values.
# This line is obsolete in favor of git clone<commit_msg>Correct sha256sum for the new base image<commit_after>#!/bin/sh
# Generate eReuseOS ISO.
#
# Based on instructions from
# <https://help.ubuntu.com/community/LiveCDCustomization>.

set -e

# Configurable regional settings.
KB_LAYOUT=${KB_LAYOUT:-us}  # see available in ``/usr/share/X11/xkb/symbols``
LOCALE=${LOCALE:-en_US.UTF-8}
TIMEZONE=${TIMEZONE:-Etc/UTC}

# Configurable settings.
WORK_DIR=${WORK_DIR:-dist/iso}

# Version-specific settings.
VERSION=$(cd erwb && python -Bc 'from __init__ import get_version; print get_version()')

# Seems that this iso has been dissapeared
# BASE_ISO_URL="http://ubuntu-mini-remix.mirror.garr.it/mirrors/ubuntu-mini-remix/15.10/ubuntu-mini-remix-15.10-i386.iso"
# BASE_ISO_SHA256="e9985f0bcb05678d87d62c3d70191aab7a80540dc17523d93c313aa8515e173e"
# Update to Zesty Zapus
BASE_ISO_URL="http://archive.ubuntu.com/ubuntu/dists/zesty/main/installer-i386/current/images/netboot/mini.iso"
BASE_ISO_SHA256="a5da7b0b11a1080ba789daabe37d9c74467759aa8fc0b75b905cd1502954cbf8"

# Other derived values.
# This line is obsolete in favor of git clone
{'fraction_non_alphanumeric': 0.12946216087577345, 'fraction_numerical': 0.09662065683008092, 'mean_word_length': 5.891803278688524, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2945524', 'n_tokens_mistral': 968, 'n_tokens_neox': 813, 'n_words': 131}