[Buildroot] [buildroot 0001573]: Clean kernel headers unpack dir before unpacking

bugs at busybox.net bugs at busybox.net
Tue Nov 27 21:48:50 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1573 
====================================================================== 
Reported By:                ikonst
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1573
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             11-04-2007 04:45 PST
Last Modified:              11-27-2007 13:48 PST
====================================================================== 
Summary:                    Clean kernel headers unpack dir before unpacking
Description: 
When unpacking the kernel headers, we rm -rf the final kernel headers dir
but we don't rm -rf the directory we unpack to.

This causes a problem since, afterwards, we apply patches and if we repeat
the unpack operation for some reason, we will try patch some files twice
(i.e. files which don't exist in the tarball and are created by the patch,
and are therefore not overwritten by the "untar-ing").
====================================================================== 

---------------------------------------------------------------------- 
 UlfSamuelsson - 11-27-07 13:48  
---------------------------------------------------------------------- 
Repeating the unpack operation means that something has gone wrong.
This is just hiding the fact. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-04-07 04:45  ikonst         New Issue                                    
11-04-07 04:45  ikonst         Status                   new => assigned     
11-04-07 04:45  ikonst         Assigned To               => buildroot       
11-04-07 04:45  ikonst         File Added: buildroot-kernel-headers-rm.patch    
               
11-27-07 13:48  UlfSamuelsson  Status                   assigned => closed  
11-27-07 13:48  UlfSamuelsson  Note Added: 0002980                          
======================================================================




More information about the buildroot mailing list