Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

Peje

Members
  • Posts

    16
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Peje

  1. No problem sorry for the mess. If my english would be better...

     

    But back to topic the downloaded source code isnt arch specific so you can host all downloaded source code on one place.

    the insecure way is to share /usr/portage/distfiles over nfs

    a more secure approch would be to use sftp or sshfs

    cu Peje

  2. Sorry I misunderstood your first question:

    Looking into keep my bandwidth usage down... 

    My simple message is portage uses much less bandwith then the downloaded source code.

    So you really should find a good solution there

    And please dont take the time to explain how funtoo works 

    best regards Peje

  3. Yes distfiles are only necesary if you install something, but if you keep your system up to date you will download much sources so it's at least for me about 1:12 (1gb portage -> 12gb distfiles for 1Server 3 Multimediapc's and one Desktop).

    So any ideas how to solve this?

     

    cu Peje

  4. @digifuzzy 

     

    Peje, on 12 Dec 2014 - 8:53 PM, said:

    snapback.png

    just sync to one server in your network, then share /usr/portage and /usr/portage/distfiles with nfs over your network

    cu peje

    Sharing protected directories across a network just seems like an extremely bad idea.

     

    there are many ways to protect traffic and folders inside your own network, so I dont belive its an extremly bad idea...

    cu peje

  5. Hi I just use bliss-initramfs, edit /etc/boot.conf and run boot-update

    sample:

     

    boot {

            generate grub
            default "Funtoo ZFS new" 
            timeout 3
    }
    "Funtoo ZFS new" {
            kernel gentoo-3.14.6
            initrd initrd-3.14.6-gentoo
            params root=rpool/ROOT/funtoo
            params += dozfs=force
            # Also add 'params += crypt_root=/dev/sda2' if you used encryption
            # Adjust the above setting to your system if needed
    }
     
     

    kernel and intird are stored in /boot

    Its simpler like this... cu peje

  6. Hi 666, firefox-bin is already installed:

     

    pejelapi ~ # emerge -pv firefox-bin

     
    These are the packages that would be merged, in order:
     
    Calculating dependencies... done!
    [ebuild   R    ] www-client/firefox-bin-30.0  USE="(-selinux) -startup-notification"

    And even if I set the path to the firefox executable I end up with:

    Unhandled event loop exception
    No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
    

    Thanks cu peje

  7. Hi 666, thank you for your help  - yes I tested with both sun and oracle jdk:

    pejelapi ~ # eselect java-vm list
    Available Java Virtual Machines:
      [1]   oracle-jre-bin-1.7  system-vm
      [2]   sun-jre-bin-1.6 
    
    

    I can run aptana BUT if I push the embeded browser to see what I coded it ends up in errors..

    Could you  may test if this works for you?

    Thank you very much cu Peje

  8. Hi xkbc, I've oss4.2 builded and running with this patch (/etc/portage/patches/media-sound/oss-4.2-2008/osscore.diff)

    osscore.diff:

    --- setup/Linux/oss/build/pci_wrapper.inc	2009-08-27 05:19:07.000000000 +0300
    +++ setup/Linux/oss/build/pci_wrapper.inc	2013-02-08 13:56:10.519794975 +0200
    @@ -17,7 +17,11 @@
     static dev_map_t dev_map[MAX_INSTANCE];
     static int n_devmap = 0;
     
    +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
     static int __devinit
    +#else
    +static int
    +#endif
     osspci_probe (struct pci_dev *pcidev, const struct pci_device_id *pciid)
     {
       oss_device_t *osdev;
    @@ -65,7 +69,11 @@
       return 0;
     }
     
    -static void __devexit
    +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
    +static int __devexit
    +#else
    +static int
    +#endif
     osspci_remove (struct pci_dev *pcidev)
     {
       int i;
    @@ -80,10 +88,11 @@
     	pci_disable_device (dev_map[i].pcidev);
     	osdev_delete (osdev);
     
    -	return;
    +	return 0;
           }
     
       printk (KERN_ALERT DRIVER_NICK ": Can't find the PCI device to detach\n");
    +  return -EIO;
     }
     
     void
    
    --- osscore.c.bak	2013-10-25 22:55:26.117237463 +0300
    +++ /tmp/osscore.c	2013-10-27 20:08:27.773527712 +0200
    @@ -280,6 +280,25 @@
       .read = oss_read_devfiles,
     };
     
    +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
    +static void
    +init_proc_fs (void)
    +{
    +  if ((oss_proc_root =
    +       proc_mkdir_mode ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
    +    {
    +      oss_cmn_err (CE_CONT, "Cannot create /proc/opensound\n");
    +      return;
    +    }
    +
    +  if ((oss_proc_devfiles =
    +       proc_create ("devfiles", 0600, oss_proc_root, &oss_proc_operations)) == NULL)
    +    {
    +      oss_cmn_err (CE_CONT, "Cannot create /proc/opensound/devfiles\n");
    +      return;
    +    }
    +}
    +#else
     static void
     init_proc_fs (void)
     {
    @@ -299,6 +318,7 @@
     
       oss_proc_devfiles->proc_fops = &oss_proc_operations;
     }
    +#endif
     
     static void
     uninit_proc_fs (void)
    @@ -436,7 +456,9 @@
     int
     oss_get_uid (void)
     {
    -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)
    +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
    +  return from_kuid_munged(current_user_ns(), current->cred->uid);
    +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)
       return current->cred->uid;
     #else
       return current->uid;
    @@ -953,7 +975,9 @@
       fop->llseek = oss_no_llseek;
       fop->read = tmp_read;
       fop->write = tmp_write;
    +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
       fop->readdir = NULL;		/* tmp_readdir; */
    +#endif
       fop->poll = tmp_poll;
     #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,35)
       fop->ioctl = tmp_ioctl;
    
    

    hope this helps, cu Peje

  9. Hello just wanted to ask: has anyone aptana studio 3 ( http://aptana.com/ ) got to run properly?

    I'm ending up with troubles with the embedded browser. 

    Unhandled event loop exception
    No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] 

    I tried the manual way and the ebuilds from overlays but always the same sh..

    Thank you for any hints.

    cu peje

×
×
  • Create New...