home  bbs  files  messages ]

      ZZLI4427             linux.debian.maint.boot             505 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 172 of 505 on ZZLI4427, Thursday 10-01-25, 1:20  
  From: CYRIL BRULEBOIS  
  To: ALL  
  Subj: Bug#1116709: hw-detect: list_deb_firmwar  
 XPost: linux.debian.bugs.dist 
 From: kibi@debian.org 
  
 [ Re-adding submitter€€€ ] 
  
 Philip Hands  (2025-09-30): 
 > alexander barakin  writes: 
 > 
 > >  list_deb_firmware () { 
 > >   udpkg -c "$1" \\ 
 > > -  | grep '^\\./lib/firmware/' \\ 
 > > -  | sed -e 's!^\\./lib/firmware/!!' \\ 
 > > +  | grep '^\\.\\(/usr\\)\\?/lib/firmware/' \\ 
 > > +  | sed -e 's!^\\.\\(/usr\\)\\?/lib/firmware/!!' \\ 
 > >    | grep -v '^$' 
 > >  } 
 > 
 > Here's a variation on that which avoids the `grep | sed | grep` pipe, 
 > and takes advantage of the fact that we have support for -E in d-i. 
 > 
 >   https://salsa.debian.org/installer-team/hw-detect/-/merge_requests/14 
  
 If we go for that, maybe include some comments to explain what that's 
 doing, so that non-sed experts can grok what's happening? 
  
 > BTW I notice mentions of /lib/firmware in a few other places: 
 > 
 > =-=-=-= 
 > packages/hw-detect/check-missing-firmware.sh 
 > 184:        if [ ! -e /lib/firmware/$fwfile ] ; then 
  
 Probably can be updated, I'm not expecting changes because of the 
 symlink. 
  
 > 217:                    target="/lib/firmware${sdir:+/$sdir}" 
  
 Ditto. 
  
 > packages/busybox/util-linux/mdev.c 
 > 64://config:    /lib/firmware/ and if it exists, send it to the kernel for 
 > 900: * - userspace checks /lib/firmware/$FIRMWARE 
 > 903: * - userspace copies /lib/firmware/$FIRMWARE into /sys/$DEVPATH/data 
 > 912:    /* check for /lib/firmware/$FIRMWARE */ 
 > 914:    if (chdir("/lib/firmware") == 0) 
  
 That's a topic for busybox upstream, no opinion. 
  
 > installation-guide/en/using-d-i/loading-firmware.xml 
 > 31:copied to the correct location (/lib/firmware) and 
  
 Would probably make sense to update. 
  
  
 Unless I missed something, none of those need fixing in stable. 
  
  
 Cheers, 
 -- 
 Cyril Brulebois (kibi@debian.org)             
 D-I release manager -- Release team member -- Freelance Consultant 
  
 -----BEGIN PGP SIGNATURE----- 
  
 iQIzBAABCgAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmjcBgQACgkQ/5FK8MKz 
 VSCk/A/8C4VCP54G0ZasxrWrN24CWVgQa0ZIJTwm0HH0G8Q6Q01agE2iDr7drrUf 
 aduwon8lSQp8cFyCJmqHkOMNaKJ8gzxIIxKrXGuL/BunjzEwnwwFvvTtS2h9a+7Q 
 0eB4JL9kzGFO/fyCnNmIqh6cnVE/tzGMn3yrPfQVtFaTcakRKCUDnWd1GyxwdlLP 
 qU0+M9LX+eAMw/Mc5/cr4t1l7Jhz3xRtYYXEvmAWjWVJ9gOegzC/BgEZl2/zVF1/ 
 kq7Rx2U6b3+9VQf1LVSbvGjF41EqZRyAgC/t4jqEablk6ULR2mI/q2/+SKtc+nm2 
 QkPkzzF/F2mRhNd8oQuIy+Jkv8sTzu7DATAiqZLUAoExf5hdIgg1Ng4OI4i5Ca50 
 M4FGPnaIu5fd/5ooUI96L1hQ+a59DA6DTrbp9b/QvNlH7oMjbOFl55sDmrVPOTg5 
 C+UnUP9ca9kG5i12TVy2VOmIFonTEMr4NIS9RL3lx4sXw86O01pN83gy43Vk/Hab 
 aIySlzBhIipLlf6X+vrRChjrHxZ0h6aqXWvHEz3Tz2n5Z+YQuX/lP5gHa2pTTPuj 
 y8GNn9cz0YBn0ALzFzGzXL1SQizaWPIyqXXDUkwhv5Xfq8dIoT2rYAhJp+C3VdTG 
 ycBEiYan/9gJHi/S9IIOXtD+3gB2TeFZJ4nX4579Tx1Cb0pxNT0= 
 =3Sb3 
 -----END PGP SIGNATURE----- 
  
 --- SoupGate-Win32 v1.05 
  * Origin: you cannot sedate... all the things you hate (1:229/2) 

[ list messages | list forums | previous | next | reply ]

search for:

328,117 visits
(c) 1994,  bbs@darkrealms.ca