Skip to content

Commit

Permalink
Minor modifications. Release v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentinTh committed Jul 31, 2019
1 parent 6196962 commit ab7ee90
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 3 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Changelog

All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org/).

## [1.0.1] - 2019-07-31

### Added

- Several new missing packages and their dependencies :
- ```avahi-daemon```, ```bash-completion```, ```fake-hwclock```, ```netcat-openbsd```, ```netcat-traditional```
- [Packaging](docs/50-bake-FlOS.md#13-package-the-image) the final image instructions in the documentation.

### Changed

- Use ```.xz``` archive instead of ```.tar.gz``` to reduce final size.
- Update the documentation.

### Removed

- Several useless packages and their dependencies :
- ```apparmor```, ```busybox```, ```eatmydata```, ```krb5-locales```, ```libeatmydata1 pigz```

## 1.0.0 - 2019-07-30

- First public release.

[1.0.1]: https://github.com/florentinth/FlOS/compare/v1.0...v1.0.1
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* [3.10 Clean Up](docs/50-bake-FlOS.md#10-clean-up)
* [3.11 Copy the SD Card](docs/50-bake-FlOS.md#11-copy-the-sd-card)
* [3.12 Shrink the Image](docs/50-bake-FlOS.md#12-shrink-the-image)
* [3.13 Package the Image](docs/50-bake-FlOS.md#13-package-the-image)

**Annexes**

Expand Down
31 changes: 28 additions & 3 deletions docs/50-bake-FlOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,24 @@ Since the Debian team have release a minimal version of Debian 10 - Buster speci

## 1. Prerequisites

- Remove useless preinstalled packages :

```bash
> apt-get --purge remove -y apparmor busybox \
eatmydata krb5-locales libeatmydata1 pigz
```

- Update the system :

```bash
> apt-get update && apt-get dist-upgrade -y
```

- Install required tools :
- Install required packages :

```bash
> apt install plymouth -y
> apt install -y avahi-daemon bash-completion \
fake-hwclock netcat-openbsd netcat-traditional plymouth
```

- Edit the ```cmdline.txt``` file :
Expand Down Expand Up @@ -442,4 +450,21 @@ $ sudo chmod +x /usr/local/bin/pishrink.sh
$ sudo pishrink.sh sd-card-copy.img sd-card-copy-small.img
```

_The smaller resulting image is now ready to be flash any time on any sd card !_
_The smaller resulting image is now ready to be flash any time on any sd card !_

## 13. Package the Image

- On Linux, use the following command to create a ```.xz``` archive of you ```.img``` file :

```bash
# from the xz-utils package
$ xz -k sd-card-copy-small.img
```

> if you don't want to keep the ```.img``` file, remove the ```-k``` option.
- Finally, generate a ```sha256``` checksum for your archive :

```bash
$ sha256sum sd-card-copy-small.img.xz > sd-card-copy-small.img.xz.sha256
```

0 comments on commit ab7ee90

Please sign in to comment.