Autor: alan Data: Para: tails-dev Assunto: Re: [Tails-dev] Please review some vagrant optimizations [was:
Shipping a 686-pae kernel]
Hi,
> > Minor stuff regarding the changes:
> >
> >> commit fec1126adbf22213e8359729bec6d71fd390304c
> >> +++ b/vagrant/provision/assets/build-tails
> >> +TMPFS_SIZE_BYTES=$(echo "($TMPFS_SIZE_GB * 1024^3)/1" | bc) # rounded down
> >
> > I don't see the need for bc. How about dropping the floating point and
> > having something like:
> >
> > TMPFS_SIZE_MB=6144 # 6 GB
> > TMPFS_SIZE_BYTES=$(($TMPFS_SIZE_GB * 1024 * 1024))
>
> Err, you're absolutely right. I don't know what I was thinking. See
> commit 12ba0ed.
> I think this is wrong. The commit shows: