[Freepto] build_with_persistence

Nachricht löschen

Nachricht beantworten
Autor: vinc3nt
Datum:  
To: freepto
Betreff: [Freepto] build_with_persistence
I've worked on our live-build configuration [1] in order to obtain a
more standard repository (and more similar to tails as well).

I have removed the freepto-config.sh script and populated the files
under the "auto" directory:

- auto/config
- auto/build

and created a custom configuration file under:

- config/freepto [2]

in order to test the persistence stuff with kvm/virtualbox, inside this
configuration file is now possible create an encrypted partition to use
as a persistence:

```
# [auto/build]

PERSISTENCE=1
SIZE=500
IMAGE="build.img"
PASSPHRASE="freepto"
```

An image is already available here:
http://dev.freepto.mx/dev/with_persistence/

Lastly for the next build there will be available information
about the building process (inside the directory /etc/freepto):


vagrant@freepto-dev ~/freepto-lb/config/includes.chroot/etc/freepto
% cat build
date=20140725
live-build_version=3.0.5-1
git_commit=320d6bd37ae4500fde7d299738cc2319821f1580
git_tag=v0.1.2-STABLE-85-g320d6bd

vagrant@freepto-dev ~/freepto-lb/config/includes.chroot/etc/freepto
% cat version
release=1.0
codename=berenjena




next step:

we could make the encryption optional.
so, in order to test the persistence creation with freepto-live-helper,
we could make possible create only an empty partition.



cheers

--------------------------
[1] https://github.com/vinc3nt/freepto-lb/tree/build_with_persistence
[2]
https://github.com/vinc3nt/freepto-lb/blob/build_with_persistence/config/freepto

--
vinc3nt

+-------------------------------------------------------------+
|GPG Id key: 4096R/DAA26AC4 2012-12-07                        |
|GPG Fingerprint: 19D8011C 81891778 7A1986DC 28E8567F DAA26AC4|
|OTR Fingerprint: 86F3EE43 8A9340D2 FF92A828 81C84DC2 FEDD839E|
+-------------------------------------------------------------+