Bug 712235

Summary: rc1 in netinstall dvd
Product: [Fedora] Fedora Reporter: James Shelby <james.shelby>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: aquini, gansalmon, itamar, jfeeney, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-09 22:15:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description James Shelby 2011-06-09 21:12:38 UTC
Description of problem:
The 15 Release netinstall DVD has a kernel version including an rc1 which probably shouldn't be there.  It was detected by our install scripts that error out due to the fc15 is not in the correct awk location.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Dave Jones 2011-06-09 22:15:20 UTC
This is not an error. The final release of the stable update hadn't been released at the time of the freeze, but the rc was deemed stable enough, and contained fixes we wanted in the final build.

Comment 2 James Shelby 2011-06-13 17:47:11 UTC
This worked fine with 12-14 but 15 fails.

uname -r | awk -F. '{print $5}' | awk -Ffc '{print $2}'

It needs to be arg 6 but ONLY Fedora 15.  Therefore it does appear to be a bug as 12,13,14 worked fine.

Comment 3 Matthew Garrett 2011-06-13 23:27:42 UTC
Your parser is incorrect. The Fedora release will be the second from last entry in uname -r, but may be an arbitrary number of fields from the front of the string. It will also fail when we start making releases based on kernels with two digit versions, such as 3.0.

Comment 4 Chuck Ebbert 2011-06-14 18:42:06 UTC
uname -r | awk -F. '{print $(NF - 1)}' | awk -Ffc '{print $2}'

Comment 5 James Shelby 2011-06-15 17:30:30 UTC
That would be a better approach Matthew.  Although I still don't understand why the "final release" has rc1?  I would prefer to regenerate the initrd that we use for the netinstall to strip that out and will do some research for that.

Thanks for the replies :-)

Comment 6 Dave Jones 2011-06-15 20:38:17 UTC
> Although I still don't understand why the "final release" has rc1? 

They are unrelated. The 'rc1' is from the upstream stable kernel version.
It has nothing to do with the fedora version.