Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#417 closed task (fixed)

[Package fix] for: livecd-iso-to-disk.sh should resort to udevadm in a system where udevinfo doesnt exist

Reported by: HoboPrimate Owned by: marcopg
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar on a Stick (SoaS) Version: Unspecified
Severity: Unspecified Keywords:
Cc: FGrose, erikos, sdz Distribution/OS: Unspecified
Bug Status: Resolved

Description

I use Ubuntu Jaunty, and udevinfo is no more, but replaced by udevadm. Because of this I get the following error when creating a Sugar on a Stick :

./livecd-iso-to-disk.sh: 340: [[: not found ./livecd-iso-to-disk.sh: 340: udevinfo: not found basename: operando em falta Tente 'basename --help' para mais informações.

Change History (8)

comment:1 Changed 15 years ago by HoboPrimate

  • Component changed from sugar to SoaS
  • Distribution/OS changed from Unspecified to Ubuntu

comment:2 Changed 15 years ago by FGrose

  • Bug Status changed from Unconfimed to New
  • Cc FGrose added

Have you tried to change the one call to udevinfo on line 48 of the script?

comment:3 Changed 15 years ago by HoboPrimate

Yes I did, but failed as well. (dont have the error message here now, but was because of a parameter given udevinfo that udevadm didnt understand)

comment:4 Changed 15 years ago by FGrose

  • Distribution/OS changed from Ubuntu to SoaS

I've tested this script change on Ubuntu 9.04 alpha4 32-bit (in VirtualBox2.1.4 on an Ubuntu 8.10 host) as of 20090227 and it succeeds.

output from diff:

48c48
<     p=$(udevinfo -q path -n $DEV)
---
>     p=$(udevadm info -q path -n $DEV)
134c134
<     /sbin/udevsettle
---
>     /sbin/udevadm settle

The revised script works also on Ubuntu 8.10 and Fedora 10.

comment:5 Changed 15 years ago by tomeu

  • Resolution set to fixed
  • Status changed from new to closed

comment:6 Changed 15 years ago by FGrose

  • Cc erikos sdz added
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Summary changed from livecd-iso-to-disk.sh should resort to udevadm in a system where udevinfo doesnt exist to [Package fix] for: livecd-iso-to-disk.sh should resort to udevadm in a system where udevinfo doesnt exist
  • Type changed from defect to task

comment:7 Changed 15 years ago by FGrose

  • Bug Status changed from New to Resolved
  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in Soas2-200903061846.iso

comment:8 Changed 14 years ago by sascha_silbe

  • Distribution/OS changed from SoaS to Unspecified

Bulk change distribution=SoaS -> component=SoaS

Note: See TracTickets for help on using tickets.