Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Juanito on July 30, 2009, 07:52:33 AM

Title: advdef error
Post by: Juanito on July 30, 2009, 07:52:33 AM
Did anybody see this error before:
Code: [Select]
$ advdef -z4 wireless-2.6.29.1-tinycore_mod.tcem
terminate called after throwing an instance of 'error_unsupported'
Title: Re: advdef error
Post by: bmarkus on July 30, 2009, 07:59:52 AM
I'm using it with all extensions created executed as root but have never seen it.
Title: Re: advdef error
Post by: robc on July 30, 2009, 12:40:58 PM
I use advdef on all of my extensions too and have not seen this before.
I was able to get that same error by doing this:
Code: [Select]
tc@box:~$ mkdir 1
tc@box:~$ echo testing > 1/test
tc@box:~$ tar czvf test.tce 1
tc@box:~$ advdef -z4 test.tce
terminate called after throwing an instance of 'error_unsupported'

But when I use different names it works:
Code: [Select]
tc@box:~$ mkdir hello
tc@box:~$ echo testing > hello/world
tc@box:~$ tar czvf hello.tce hello
tc@box:~$ advdef -z4 hello.tce
155 153 98% hello.tce
155 153 98%
Title: Re: advdef error
Post by: junan on July 31, 2009, 01:22:25 AM
i follow your code , and no error...

Code: [Select]
tc@anarkia:~$ mkdir 1
tc@anarkia:~$ echo testing > 1/test
tc@anarkia:~$ tar czvf test.tce 1
1/
1/test
tc@anarkia:~$ advdef -z4 test.tce
         154         143  92% test.tce
         154         143  92%

have you try with -f or --force ?
Title: Re: advdef error
Post by: jpeters on September 03, 2009, 03:23:31 PM
I think the key is executing in root: "sudo advdef -z4 .... "