~emersion

France

https://emersion.fr

~emersion/mrsh-dev

Last active 6 days ago

~emersion/public-inbox

Last active 30 days ago

Recent activity

Re: Build manifests' sources 10 hours ago

From Simon Ser to ~sircmpwn/sr.ht-dev

On Friday, February 15, 2019 7:02 PM, Drew DeVault <sir@cmpwn.com> wrote:
> I vote for this:
>
> https+git://url...
> https+hg://url...
>
> Also, please default to git if unspecified.

+1, though the common practice seems to specify the higher-level
protocol first:

git+https://…
git+ssh://…

[PATCH docs] builds.sr.ht/compatibility.md: update freebsd a day ago

From Simon Ser to ~sircmpwn/sr.ht-dev

From: emersion <contact@emersion.fr>

---
 builds.sr.ht/compatibility.md | 35 +++++++++++++++++++++++++++++++++--
 1 file changed, 33 insertions(+), 2 deletions(-)

diff --git a/builds.sr.ht/compatibility.md b/builds.sr.ht/compatibility.md
index 125c8ca..5a123e5 100644
--- a/builds.sr.ht/compatibility.md
+++ b/builds.sr.ht/compatibility.md
@@ -329,8 +329,9 @@ The following commands will be used to configure it:
 <table class="table table-sm table-hover">
   <thead>
     <tr>
[message trimmed]

[PATCH builds.sr.ht] images/freebsd: fix current 3 days ago

From Simon Ser to ~sircmpwn/sr.ht-dev

From: emersion <contact@emersion.fr>

freebsd-update doesn't work on CURRENT.

Additionally, this also makes freebsd-update display its info and
error messages. PAGER is disabled because we don't want to see a
list of files affected by the upgrade.
---
 images/freebsd/11.x/genimg    |  1 +
 images/freebsd/12.x/genimg    |  1 +
 images/freebsd/current/genimg |  3 ++-
 images/freebsd/genimg         | 16 ++++++++++------
 4 files changed, 14 insertions(+), 7 deletions(-)
[message trimmed]

[PATCH builds.sr.ht] images/freebsd: set correct freebsd-update release 3 days ago

From Simon Ser to ~sircmpwn/sr.ht-dev

From: emersion <contact@emersion.fr>

---
 images/freebsd/genimg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/freebsd/genimg b/images/freebsd/genimg
index 91994a7..f990fcf 100755
--- a/images/freebsd/genimg
+++ b/images/freebsd/genimg
@@ -68,7 +68,7 @@ FreeBSD: {
 EOF
 
 /usr/sbin/freebsd-update -b /mnt \
[message trimmed]

[PATCH builds.sr.ht] images: use -display none 3 days ago

From Simon Ser to ~sircmpwn/sr.ht-dev

From: emersion <contact@emersion.fr>

This gives qemu a chance to print an error message in case anything
goes wrong.

Also fail on unset variables and fix indentation.
---
 images/control           | 6 +++---
 images/freebsd/functions | 9 +++++----
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/images/control b/images/control
index 6af1766..130161d 100755
--- a/images/control
[message trimmed]

[PATCH builds.sr.ht] images/freebsd: use GPT label instead of device path in fstab 4 days ago

From Simon Ser to ~sircmpwn/sr.ht-dev

From: emersion <contact@emersion.fr>

The device path depends on the driver used.
---
 images/freebsd/genimg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/freebsd/genimg b/images/freebsd/genimg
index 089e01a..91994a7 100755
--- a/images/freebsd/genimg
+++ b/images/freebsd/genimg
@@ -37,7 +37,7 @@ do
 	tar -C /mnt -xJf "$dist_dir/$f"
 done
[message trimmed]

[PATCH builds.sr.ht] images/freebsd: add 11.x and current 4 days ago

From Simon Ser to ~sircmpwn/sr.ht-dev

From: emersion <contact@emersion.fr>

---
 images/freebsd/{12.0 => 11.x}/functions | 0
 images/freebsd/11.x/genimg              | 5 +++++
 images/freebsd/12.0/genimg              | 3 ---
 images/freebsd/12.x/functions           | 1 +
 images/freebsd/12.x/genimg              | 5 +++++
 images/freebsd/current/functions        | 1 +
 images/freebsd/current/genimg           | 5 +++++
 images/freebsd/genimg                   | 9 ++++-----
 8 files changed, 21 insertions(+), 8 deletions(-)
 rename images/freebsd/{12.0 => 11.x}/functions (100%)
 create mode 100755 images/freebsd/11.x/genimg
[message trimmed]

[PATCH builds.sr.ht] images/freebsd: fix networking and sshd 4 days ago

From Simon Ser to ~sircmpwn/sr.ht-dev

From: emersion <contact@emersion.fr>

---
 images/freebsd/genimg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/images/freebsd/genimg b/images/freebsd/genimg
index 620ce0b..089e01a 100755
--- a/images/freebsd/genimg
+++ b/images/freebsd/genimg
@@ -45,7 +45,8 @@ cat >>/mnt/etc/rc.conf <<EOF
 ntpd_enable=YES
 sshd_enable=YES
 growfs_enable=YES
[message trimmed]

Re: [PATCH builds.sr.ht v3] images/freebsd: add a custom install script 4 days ago

From Simon Ser to ~sircmpwn/sr.ht-dev

On Monday, February 11, 2019 5:55 PM, Drew DeVault <sir@cmpwn.com> wrote:
> On 2019-02-11 4:38 PM, Simon Ser wrote:
>
> > -qemu-img convert -f raw -O qcow2 root.img.raw root.img.qcow2
> > -rm root.img.raw
> > +qemu-img convert -f raw -O qcow2 disk.img root.img.qcow2
> > +rm disk.img
>
> Can we also resize the disk to make it a bit roomier? Say, 16G.

This was already done previously, right after this line.

    qemu-img resize root.img.qcow2 16G

[PATCH builds.sr.ht v3] images/freebsd: add a custom install script 4 days ago

From Simon Ser to ~sircmpwn/sr.ht-dev

From: emersion <contact@emersion.fr>

---

$snapshot_base hardcodes 13.0-CURRENT because the $release format is different
and these are snapshots any, so ports.txz is the same.

 images/freebsd/12.0/genimg |   2 +-
 images/freebsd/genimg      | 105 +++++++++++++++++++++++++++----------
 images/freebsd/install     |  35 -------------
 3 files changed, 78 insertions(+), 64 deletions(-)
 delete mode 100644 images/freebsd/install

diff --git a/images/freebsd/12.0/genimg b/images/freebsd/12.0/genimg
[message trimmed]