Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Josh Triplett
On Mon, Jun 06, 2016 at 02:50:51AM +0100, Ben Hutchings wrote: > On Sun, 2016-06-05 at 18:41 -0700, Josh Triplett wrote: > > On Mon, Jun 06, 2016 at 02:22:18AM +0100, Ben Hutchings wrote: > > > On Sun, 2016-06-05 at 12:22 -0700, Josh Triplett wrote: > > > > [Please CC me on replies.  Aside: in my p

Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Ben Hutchings
On Sun, 2016-06-05 at 18:41 -0700, Josh Triplett wrote: > On Mon, Jun 06, 2016 at 02:22:18AM +0100, Ben Hutchings wrote: > > On Sun, 2016-06-05 at 12:22 -0700, Josh Triplett wrote: > > > [Please CC me on replies.  Aside: in my previous mail, I set both > > > Mail-Followup-To and Reply-To to include

Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Josh Triplett
On Mon, Jun 06, 2016 at 02:22:18AM +0100, Ben Hutchings wrote: > On Sun, 2016-06-05 at 12:22 -0700, Josh Triplett wrote: > > [Please CC me on replies.  Aside: in my previous mail, I set both > > Mail-Followup-To and Reply-To to include myself.  What mailer and mechanism > > did > > you use to repl

Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Ben Hutchings
On Sun, 2016-06-05 at 12:22 -0700, Josh Triplett wrote: > [Please CC me on replies.  Aside: in my previous mail, I set both > Mail-Followup-To and Reply-To to include myself.  What mailer and mechanism > did > you use to reply that didn't look at either of those headers?] Evolution, Reply to List

Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Josh Triplett
[Please CC me on replies. Aside: in my previous mail, I set both Mail-Followup-To and Reply-To to include myself. What mailer and mechanism did you use to reply that didn't look at either of those headers?] Ben Hutchings wrote: > On Sun, 2016-06-05 at 07:39 -0700, Josh Triplett wrote: > > Ben Hu

Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Ben Hutchings
On Sun, 2016-06-05 at 16:08 +0100, Ian Jackson wrote: > Ben Hutchings writes ("Detecting install vs upgrade in postinst"): > > The postinst script for linux-image-* behaves differently on fresh > > installation vs upgrade.  For a fresh installation, it updates the > > default symlinks /vmlinuz and

Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Ben Hutchings
On Sun, 2016-06-05 at 07:39 -0700, Josh Triplett wrote: > Ben Hutchings wrote: > > On Sun, 2016-06-05 at 11:29 +0200, Marco d'Itri wrote: > > > On Jun 05, Ben Hutchings wrote: > > > > The postinst script for linux-image-* behaves differently on fresh > > > > installation vs upgrade.  For a fresh i

Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Ian Jackson
Ben Hutchings writes ("Detecting install vs upgrade in postinst"): > The postinst script for linux-image-* behaves differently on fresh > installation vs upgrade.  For a fresh installation, it updates the > default symlinks /vmlinuz and /initrd.img to point to the new kernel > and initramfs version

Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Josh Triplett
Ben Hutchings wrote: > On Sun, 2016-06-05 at 11:29 +0200, Marco d'Itri wrote: > > On Jun 05, Ben Hutchings wrote: > > > The postinst script for linux-image-* behaves differently on fresh > > > installation vs upgrade. For a fresh installation, it updates the > > > default symlinks /vmlinuz and /i

Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Ben Hutchings
On Sun, 2016-06-05 at 11:29 +0200, Marco d'Itri wrote: > On Jun 05, Ben Hutchings wrote: > > > The postinst script for linux-image-* behaves differently on fresh > > installation vs upgrade.  For a fresh installation, it updates the > > default symlinks /vmlinuz and /initrd.img to point to the ne

Re: Detecting install vs upgrade in postinst

2016-06-05 Thread Marco d'Itri
On Jun 05, Ben Hutchings wrote: > The postinst script for linux-image-* behaves differently on fresh > installation vs upgrade.  For a fresh installation, it updates the > default symlinks /vmlinuz and /initrd.img to point to the new kernel > and initramfs versions.  On upgrade it generally doesn