Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77363 - Small typos in sys-kernel/genkernel-3.1.0d linuxrc script
Summary: Small typos in sys-kernel/genkernel-3.1.0d linuxrc script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 04:48 UTC by Olivier Castan
Modified: 2005-01-22 12:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Castan 2005-01-10 04:48:08 UTC
Lines 421 and 437:
        rm /tmp/.initrd/dev -rf || '*: Failed to remove the initrd /dev!'

1. I checked busybox documentation at http://www.busybox.net/downloads/BusyBox.html#item_rm
and options should precede files as usual

2. 'echo' is missing ;)

So I suggest to replace the lines with:
        rm -rf /tmp/.initrd/dev || echo '*: Failed to remove the initrd /dev!'


Reproducible: Always
Steps to Reproduce:




Portage 2.0.51-r8 (default-linux/ppc/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r9 ppc)
=================================================================
System uname: 2.6.9-gentoo-r9 ppc 7455, altivec supported
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun  5 2004, 03:19:45)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.7.9, 1.9.3, 1.6.3, 1.8.5-r2, 1.4_p6
sys-devel/binutils:  2.15.90.0.3-r4
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/home/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://128.213.5.34/gentoo/
http://gentoo.inode.at/ http://ds.thn.htu.se/linux/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 aac aalib alsa altivec arts async berkdb bitmap-fonts bonobo
cdparanoia cdr chroot crypt cups dga dillo directfb divx4linux dts dv dvd dvdr
dvdread edl encode esd exif f77 faac faad fam fb fbcon ffmpeg fla flac
foomaticdb fortran gd gdbm ggi gif gimpprint gnome gphoto2 gpm graphviz gs
gstreamer gtk gtk2 gtkhtml hal imagemagick imlib java javascript jp2 jpeg lcms
libcaca live lzo lzw lzw-tiff mad mailwrapper matroska md5sum mime mjpeg mng
motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 mplayer
ncurses network nls nptl ntlm odbc offensive oggvorbis opengl pam pdflib perl
pg-hier physfs png ppc ppds pthreads python quicktime radeon readline rtc sdl
session sftplogging slang smime speex spell ssl stencil-buffer svg tcltk tcpd
tga theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 wmf
xanim xface xine xml xml2 xmms xosd xpm xprint xv xvid xvmc zlib video_cards_radeon"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-01-22 12:20:25 UTC
Fixed in 3.1.0e; thanks!
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2005-01-22 12:22:09 UTC
Oops, looks like I forgot to add the missing 'echo'. That's fixed in genkernel CVS now; will release another version to the Portage tree sometime soon.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-01-22 12:44:46 UTC
Ok, fixed in 3.1.0e now as well (I uploaded a fixed tarball).