25.09.2015 10:26, Guillaume Gardet пишет:
> Hi,
> 
> Le 24/09/2015 21:30, Matwey V. Kornilov a écrit :
>> 24.09.2015 20:27, Matwey V. Kornilov пишет:
>>> Hello,
>>>
>>> In JeOS.kiwi for armv7hl I see the following:
>>>
>>>    <drivers>
>>>      <file name="drivers/ata/*"/>
>>>      <!-- For SATA -->
>>>      <file name="drivers/dma/*"/>
>>>      <!-- For DMA -->
>>>      <file name="drivers/gpio/*"/>
>>>      <!-- Needed for TWL6040 GPO for MMC boot on pandaboard -->
>>>      <file name="drivers/gpu/*"/>
>>>      <!-- For display -->
>>>      <file name="drivers/mmc/*"/>
>>>      <!-- For SD/MMC -->
>>>      <file name="drivers/phy/*"/>
>>>      <!-- Various phy: sata, usb, video, ... -->
>>>    </drivers>
>>>
>>> but in the generated initrd I see that all drivers are present:
>>>
>>> lib/modules/4.3.0-rc2-1.g2b75354-default/kernel/drivers> ls
>>> ata    cdrom  dma   gpu  hwmon  input  media    mfd   mmc  ntb      phy
>>>   ptp   soc  thermal  uwb    video
>>> block  char   gpio  hid  iio    md     message  misc  net  parport  pps
>>>   scsi  ssb  usb      vhost  virtio
>>>
>>> And I cannot understand how this is supposed to work. What <drivers> is
>>> used for?
> 
> There is a predifined list of drivers to include (in kiwi) and we also
> had those within <drivers> and </drivers>.
> 

I think the following should be added to config.sh:

#==========================================
# remove unneded kernel files
#------------------------------------------
suseStripKernel

#==========================================
# remove unneeded files
#------------------------------------------
suseStripInitrd

I am not sure and going to test whether it affects something.

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to