| Summary: | portage not handling config file properly ? | ||
|---|---|---|---|
| Product: | Portage Development | Reporter: | Francisco León <fjleon> |
| Component: | Unclassified | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | vapier |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | here goes my complete log | ||
|
Description
Francisco León
2003-02-11 22:45:32 UTC
run etc-update what i meant, is that we dont know what can we put in that variable. Looking at /usr/bin/emu10k1-script i learned that the 2 possible values are: audigy (duh) emu (in case you have an original live card) 1)Please update the ebuild to reflect these 2 values in the current ewarn 2)Please change the emu10k1.conf file and put something like # CARD_TYPE: possible values: [audigy|emu] oh please, change emu to live, it's more intuitive i did run etc-update and nothing happened. looking at the source code i see that everything that i request here has been done, but weird, portage didn't warn me to run etc-update and running it now says there is nothing to do if you run etc-update it'll add that information to the top of your emu10k1.conf file http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/media-sound/emu10k1/files/emu10k1.conf-gentoo-header?rev=1.1&content-type=text/vnd.viewcvs-markup i installed it again and it still fails to update /etc/emu10k1.conf, i have to do it myself. Maybe it is because i had an older version installed and i modified the .conf file so emerge didn't remove it when it auto unmerged the older version something must be wrong in the .ebuild sorry, etc-update does nothing. i know the file is there, (i saw it myself in /files) but portage fails in updating it. i dont get either the yellow dialog telling me i have x files changed in /etc and that i should run etc-update, neither if i manually run it i get the new file. something is wrong in the ebuild Created attachment 8180 [details]
here goes my complete log
i am guessing the new file does not get updated and only gets installed
properly if you didn't have emu10k1 installed before
ill double check it ok, it is installed into ${D} correctly, but the merge doesnt do it right
nick: please examine the emu10k1 ebuild with 2.0.46-r12 ...
when it goes to merge ${D} with the livefilesystem, changes to a file in /etc/ are lost ...
# cd /usr/portage/media-sound/emu10k1/
# ebuild emu10k1-0.20a-r3.ebuild clean unpack compile install
# cd /var/tmp/portage/emu10k1-0.20a-r3/image/etc/
# diff -ur /etc/emu10k1.conf emu10k1.conf
--- /etc/emu10k1.conf 2003-02-12 10:25:41.000000000 -0500
+++ emu10k1.conf 2003-02-12 10:28:06.000000000 -0500
@@ -1,3 +1,11 @@
+# Set your card type on the next line so that loading the
+# kernel module works correctly.
+#
+# Accepted values are 'emu' and 'audigy'
+# use 'audigy' if you have an audigy based sound card,
+# otherwise use 'emu'
+CARD_TYPE="set_me"
+
##
## This file is used to configure emu10k1's emu-script
##
# emerge emu10k1
<emerges correctly>
# etc-update
Scanning Configuration files...
Exiting: No files to work on!
This is on purpose... But can be overridden in .47-r1 now. --noconfmem |