mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [ANNOUNCE] PTXdist 2011.10.0 released
@ 2011-10-05  8:55 Michael Olbrich
  2011-11-22 13:28 ` Alexander Dahl
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Olbrich @ 2011-10-05  8:55 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 2945 bytes --]

Hi,

I've just released PTXdist 2011.10.0. No big changes. A few new packages,
version bumps and bug fixes. I've also added a setup variable for
kernel.org. You can use it to redirect any download from kernel.org on off
its mirrors.
Thanks to all contributers. As always the shortlog below.

Enjoy,
Michael


Jan Weitzel (3):
      remove PTXCONF_SETUP_KERNELDIR_PREFIX
      ask before cleaning complett BSP
      make really clean question configurable

Jon Ringle (1):
      ptxdist: allow PTXDIST_PTXRC_DEFAULT to be set from environment

Juergen Beisert (3):
      u-boot.make: Use make, not C style ifdefs
      ALSA utils: Adapt sound state rule to be more flexible
      Fix Busybox versus dosfstools conflict

Marc Kleine-Budde (1):
      mtd-utils: mark flash_eraseall as deprecated

Michael Olbrich (36):
      qt4: version bump 4.7.3 -> 4.7.4
      systemd: version bump 34 -> 35
      openssh: fix sshd@.service
      rsyslog: version bump 5.8.1 -> 5.8.5
      host-figlet: new package
      install_replace: add output
      install_replace_figlet: added
      rootfs: add /etc/issue
      initmethod-bbinit: remove banner
      image_jffs2: fix creating root.sum.jffs2
      qt4: add patch to block all DigiNotar certificates
      xterm: configure with --disable-rpath-hack
      nss-mdns: new package
      avahi: cleanup options & targetinstall
      avahi: version bump 0.6.25 -> 0.6.30
      xorg-server: improve kdrive/xfbdev options
      ptxdistrc.default: refresh
      setup: add kernel.org mirror
      kernel: use kernel.org mirror
      bluez: use kernel.org mirror
      connman: use kernel.org mirror
      cpufrequtils: use kernel.org mirror
      kexec-tools: use kernel.org mirror
      klibc: use kernel.org mirror
      libgdbus: use kernel.org mirror
      module-init-tools: use kernel.org mirror
      pcmciautils: use kernel.org mirror
      ps3-utils: use kernel.org mirror
      rt-tests: use kernel.org mirror
      syslinux: use kernel.org mirror
      udev: use kernel.org mirror
      usbutils: use kernel.org mirror
      ptxd_make_world_update_md5: follow symlinks when updating md5sums
      systemd: version bump 35 -> 36
      ptxd_make_world_clean: delete the source dir if it's a link
      at91bootstrap2: new package

Robert Schwebel (5):
      ethtool: version bump 2.6.33 -> 3.0
      xterm: version bump 267 -> 271
      acpid: version bump 2.0.8 -> 2.0.11
      usbutils: version bump 0.90 -> 004
      mtd-utils: version bump 1.3.1 -> 1.4.6

Teresa Gámez (1):
      gst-plugins-fsl_vpu: Fix md5sum


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [ANNOUNCE] PTXdist 2011.10.0 released
  2011-10-05  8:55 [ptxdist] [ANNOUNCE] PTXdist 2011.10.0 released Michael Olbrich
@ 2011-11-22 13:28 ` Alexander Dahl
  2011-11-22 14:25   ` Michael Olbrich
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Dahl @ 2011-11-22 13:28 UTC (permalink / raw)
  To: ptxdist

Hei there, 

Am 05.10.2011 09:55, schrieb Michael Olbrich:
> I've just released PTXdist 2011.10.0. No big changes. A few new packages,
> version bumps and bug fixes. I've also added a setup variable for
> kernel.org. You can use it to redirect any download from kernel.org on off
> its mirrors.

>       host-figlet: new package
>       rootfs: add /etc/issue
>       initmethod-bbinit: remove banner

While migrating from ptxdist 2011.09.0 I ran into this. I liked the
previous solution with the hostname printed on boot. The new solution is
static and build on the build host. This removes the need for figlet on
the target and is probably more portable between different init methods,
but let's say I wanted the old behaviour back, I would have to implement
it by myself now, wouldn't I?

Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [ANNOUNCE] PTXdist 2011.10.0 released
  2011-11-22 13:28 ` Alexander Dahl
@ 2011-11-22 14:25   ` Michael Olbrich
  2011-11-22 14:41     ` Jon Ringle
  2011-11-24 12:51     ` Alexander Dahl
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Olbrich @ 2011-11-22 14:25 UTC (permalink / raw)
  To: ptxdist

Hi,

On Tue, Nov 22, 2011 at 02:28:16PM +0100, Alexander Dahl wrote:
> Am 05.10.2011 09:55, schrieb Michael Olbrich:
> > I've just released PTXdist 2011.10.0. No big changes. A few new packages,
> > version bumps and bug fixes. I've also added a setup variable for
> > kernel.org. You can use it to redirect any download from kernel.org on off
> > its mirrors.
> 
> >       host-figlet: new package
> >       rootfs: add /etc/issue
> >       initmethod-bbinit: remove banner
> 
> While migrating from ptxdist 2011.09.0 I ran into this. I liked the
> previous solution with the hostname printed on boot. The new solution is
> static and build on the build host. This removes the need for figlet on
> the target and is probably more portable between different init methods,

It was also broken on many systems. Sometimes when the getty started, the
last few lines of the init output (= the last lines of the banner) got
lost.

> but let's say I wanted the old behaviour back, I would have to implement
> it by myself now, wouldn't I?

Yes, but thats rather easy. Just copy the old init script to your bsp and
install it. You could also create a new init script that creates
/etc/issue, or better create it on a tmpfs and install /etc/issue as a link
to this.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [ANNOUNCE] PTXdist 2011.10.0 released
  2011-11-22 14:25   ` Michael Olbrich
@ 2011-11-22 14:41     ` Jon Ringle
  2011-11-24 12:51     ` Alexander Dahl
  1 sibling, 0 replies; 7+ messages in thread
From: Jon Ringle @ 2011-11-22 14:41 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1182 bytes --]

On Tue, Nov 22, 2011 at 9:25 AM, Michael Olbrich
<m.olbrich@pengutronix.de>wrote:

> Hi,
>
> On Tue, Nov 22, 2011 at 02:28:16PM +0100, Alexander Dahl wrote:
> > Am 05.10.2011 09:55, schrieb Michael Olbrich:
> > > I've just released PTXdist 2011.10.0. No big changes. A few new
> packages,
> > > version bumps and bug fixes. I've also added a setup variable for
> > > kernel.org. You can use it to redirect any download from kernel.orgon off
> > > its mirrors.
> >
> > >       host-figlet: new package
> > >       rootfs: add /etc/issue
> > >       initmethod-bbinit: remove banner
> >
> > While migrating from ptxdist 2011.09.0 I ran into this. I liked the
> > previous solution with the hostname printed on boot. The new solution is
> > static and build on the build host. This removes the need for figlet on
> > the target and is probably more portable between different init methods,
>
> It was also broken on many systems. Sometimes when the getty started, the
> last few lines of the init output (= the last lines of the banner) got
> lost.
>
> I ran into this problem a long time ago. I solved it by putting
"sync;sync" at the end of the start_proc in /etc/init.d/banner

Jon

[-- Attachment #1.2: Type: text/html, Size: 1730 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [ANNOUNCE] PTXdist 2011.10.0 released
  2011-11-22 14:25   ` Michael Olbrich
  2011-11-22 14:41     ` Jon Ringle
@ 2011-11-24 12:51     ` Alexander Dahl
  2011-11-24 14:01       ` Michael Olbrich
  1 sibling, 1 reply; 7+ messages in thread
From: Alexander Dahl @ 2011-11-24 12:51 UTC (permalink / raw)
  To: ptxdist

Hei hei, 

Am 22.11.2011 15:25, schrieb Michael Olbrich:
> It was also broken on many systems. Sometimes when the getty started, the
> last few lines of the init output (= the last lines of the banner) got
> lost.

Yes, I know, noticed this myself.

>> but let's say I wanted the old behaviour back, I would have to implement
>> it by myself now, wouldn't I?
> 
> Yes, but thats rather easy. Just copy the old init script to your bsp and
> install it. You could also create a new init script that creates
> /etc/issue, or better create it on a tmpfs and install /etc/issue as a link
> to this.

Did this, but that's not enough. We use bbinit (busybox) and have the
following lines in /etc/inittab:

console::sysinit:/etc/init.d/rcS
console::respawn:/sbin/getty -L 115200 /dev/ttyS0 vt100

So after executing all init scripts getty is started and getty does the
output of /etc/issue – the getty used here also comes from busybox. Help
for it is a little hard to find, I ended up reading the busybox source
and found this in libbb/login.c:

 48             switch (c) {
 49             case 's':
 50                 outbuf = uts.sysname;
 51                 break;
 52             case 'n':
 53             case 'h':
 54                 outbuf = uts.nodename;
 55                 break;
 56             case 'r':
 57                 outbuf = uts.release;
 58                 break;
 59             case 'v':
 60                 outbuf = uts.version;
 61                 break;
 62             case 'm':
 63                 outbuf = uts.machine;
 64                 break;
 65 /* The field domainname of struct utsname is Linux specific. */
 66 #if defined(__linux__)
 67             case 'D':
 68             case 'o':
 69                 outbuf = uts.domainname;
 70                 break;
 71 #endif
 72             case 'd':
 73                 strftime(buf, sizeof(buf), fmtstr_d,
localtime(&t));
 74                 break;
 75             case 't':
 76                 strftime(buf, sizeof(buf), fmtstr_t,
localtime(&t));
 77                 break;
 78             case 'l':
 79                 outbuf = tty;
 80                 break;
 81             default:
 82                 buf[0] = c;
 83             }

This means getty does replace certain things when displaying
/etc/issue. This is why you replace backslashes (\) with backticks (`)
when creating the static /etc/issue in ptxd_install_replace_figlet()
from scripts/lib/ptxd_make_xpkg_pkg.sh ;-)

To make a long story short: In my script on the target I couldn't just
pipe the output of figlet to my new /etc/issue but had to escape the
backslashes afterwords, so this is how my /etc/init.d/banner looks now
(and I do some additional replacements in my build environment):

 11 start_proc() {
 12     host=`/bin/hostname`
 13
 14     (
 15         echo
 16         echo "OSELAS(R)-@PROJECT@@PRJVERSION@
(@PTXDIST@-@VERSION@.@PATCHLEVEL@.@SUBLEVEL@@EXTRAVERSION@/@DATE@)"
 17         echo "for: @IS_VENDOR_NAME@ (revision: @REVISION@)"
 18         ${FIGLET} -w 0 -f "${FIGLET_FONTS}/standard" "$host"
 19         echo "%s %n %r %v %m"
 20         echo "Today is %d %t. The weather is nice."
 21         echo
 22         echo
 23     ) > /tmp/issue
 24
 25     sed -i -e 's/\\/\\\\/g' /tmp/issue
 26
 27     rm -f /etc/issue
 28     ln -fs /tmp/issue /etc/issue
 29 }

Works fine, thanks for the initial hint. :-)

Alex

-- 
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [ANNOUNCE] PTXdist 2011.10.0 released
  2011-11-24 12:51     ` Alexander Dahl
@ 2011-11-24 14:01       ` Michael Olbrich
  2011-11-24 15:23         ` [ptxdist] /etc/issue (Was: [ANNOUNCE] PTXdist 2011.10.0 released) Alexander Dahl
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Olbrich @ 2011-11-24 14:01 UTC (permalink / raw)
  To: ptxdist

On Thu, Nov 24, 2011 at 01:51:45PM +0100, Alexander Dahl wrote:
> Hei hei, 
> 
> Am 22.11.2011 15:25, schrieb Michael Olbrich:
> > It was also broken on many systems. Sometimes when the getty started, the
> > last few lines of the init output (= the last lines of the banner) got
> > lost.
> 
> Yes, I know, noticed this myself.
> 
> >> but let's say I wanted the old behaviour back, I would have to implement
> >> it by myself now, wouldn't I?
> > 
> > Yes, but thats rather easy. Just copy the old init script to your bsp and
> > install it. You could also create a new init script that creates
> > /etc/issue, or better create it on a tmpfs and install /etc/issue as a link
> > to this.
> 
> Did this, but that's not enough. We use bbinit (busybox) and have the
> following lines in /etc/inittab:
> 
> console::sysinit:/etc/init.d/rcS
> console::respawn:/sbin/getty -L 115200 /dev/ttyS0 vt100
> 
> So after executing all init scripts getty is started and getty does the
> output of /etc/issue – the getty used here also comes from busybox. Help
> for it is a little hard to find, I ended up reading the busybox source
> and found this in libbb/login.c:
> 
>  48             switch (c) {
>  49             case 's':
>  50                 outbuf = uts.sysname;
>  51                 break;
>  52             case 'n':
>  53             case 'h':
>  54                 outbuf = uts.nodename;
>  55                 break;
>  56             case 'r':
>  57                 outbuf = uts.release;
>  58                 break;
>  59             case 'v':
>  60                 outbuf = uts.version;
>  61                 break;
>  62             case 'm':
>  63                 outbuf = uts.machine;
>  64                 break;
>  65 /* The field domainname of struct utsname is Linux specific. */
>  66 #if defined(__linux__)
>  67             case 'D':
>  68             case 'o':
>  69                 outbuf = uts.domainname;
>  70                 break;
>  71 #endif
>  72             case 'd':
>  73                 strftime(buf, sizeof(buf), fmtstr_d,
> localtime(&t));
>  74                 break;
>  75             case 't':
>  76                 strftime(buf, sizeof(buf), fmtstr_t,
> localtime(&t));
>  77                 break;
>  78             case 'l':
>  79                 outbuf = tty;
>  80                 break;
>  81             default:
>  82                 buf[0] = c;
>  83             }
> 
> This means getty does replace certain things when displaying
> /etc/issue. This is why you replace backslashes (\) with backticks (`)
> when creating the static /etc/issue in ptxd_install_replace_figlet()
> from scripts/lib/ptxd_make_xpkg_pkg.sh ;-)
> 
> To make a long story short: In my script on the target I couldn't just
> pipe the output of figlet to my new /etc/issue but had to escape the
> backslashes afterwords, so this is how my /etc/init.d/banner looks now
> (and I do some additional replacements in my build environment):
> 
>  11 start_proc() {
>  12     host=`/bin/hostname`
>  13
>  14     (
>  15         echo
>  16         echo "OSELAS(R)-@PROJECT@@PRJVERSION@
> (@PTXDIST@-@VERSION@.@PATCHLEVEL@.@SUBLEVEL@@EXTRAVERSION@/@DATE@)"
>  17         echo "for: @IS_VENDOR_NAME@ (revision: @REVISION@)"
>  18         ${FIGLET} -w 0 -f "${FIGLET_FONTS}/standard" "$host"
>  19         echo "%s %n %r %v %m"
>  20         echo "Today is %d %t. The weather is nice."
>  21         echo
>  22         echo
>  23     ) > /tmp/issue
>  24
>  25     sed -i -e 's/\\/\\\\/g' /tmp/issue

23     ) | sed -e 's/\\/\\\\/g' > /tmp/issue

should work too. I'd also recommend against using '\'. It always broke
something for me (that's why I use '`'). I think via ssh /etc/issue is
shown, but '\' is no special character for security reasons or something
like that.

>  26
>  27     rm -f /etc/issue
>  28     ln -fs /tmp/issue /etc/issue
>  29 }
> 
> Works fine, thanks for the initial hint. :-)

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ptxdist] /etc/issue (Was: [ANNOUNCE] PTXdist 2011.10.0 released)
  2011-11-24 14:01       ` Michael Olbrich
@ 2011-11-24 15:23         ` Alexander Dahl
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Dahl @ 2011-11-24 15:23 UTC (permalink / raw)
  To: ptxdist

Am 24.11.2011 15:01, schrieb Michael Olbrich:
>>  21         echo
>>  22         echo
>>  23     ) > /tmp/issue
>>  24
>>  25     sed -i -e 's/\\/\\\\/g' /tmp/issue
> 
> 23     ) | sed -e 's/\\/\\\\/g' > /tmp/issue
> 
> should work too. I'd also recommend against using '\'. It always broke
> something for me (that's why I use '`'). I think via ssh /etc/issue is
> shown, but '\' is no special character for security reasons or something
> like that.

You're right, saves some IO when directly piping it through sed.

Regarding backslashes: I have no problem replacing them like above and
didn't see problems yet in my terminals. However /etc/issue is not shown
when logging in to ssh (dropbear). Should it?

Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-24 15:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-05  8:55 [ptxdist] [ANNOUNCE] PTXdist 2011.10.0 released Michael Olbrich
2011-11-22 13:28 ` Alexander Dahl
2011-11-22 14:25   ` Michael Olbrich
2011-11-22 14:41     ` Jon Ringle
2011-11-24 12:51     ` Alexander Dahl
2011-11-24 14:01       ` Michael Olbrich
2011-11-24 15:23         ` [ptxdist] /etc/issue (Was: [ANNOUNCE] PTXdist 2011.10.0 released) Alexander Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox