AIF - Custom (local) Repos

Hey,
I have the following issue:For my studies, I try to make an installation CD for arch including custom packages from a local repo. Therefore I copied the repo files onto the overlay (overlay/home/repo_carolo) and edited the pacman.conf in overlay. If I type in the command pacman -Sy, all repos do work - including the custom repo (named carolo). But if I try to access to carolo from aif automatic script, it does not find the repository.
Here's my config file for automatic installation
<code>
# this config explains the (all) available options.
# the variables are optional and we define their defaults here (so you could omit the
# definitions), unless otherwise specified.
SOURCE=cd
FILE_URL=file:///src/core/pkg
SYNC_URL=
HARDWARECLOCK=localtime
TIMEZONE=Europe/Berlin
HOSTNAME="caroloDHBW"
LOCALE="de_DE.utf8"
KEYMAP="de"
LANG="de"
eth0="dhcp"
DAEMONS="@acpid syslog-ng network rpcbind dbus hal @netfs @crond @alsa bluetooth PS3Init CaroloSoftware"
TARGET_REPOS="carolo core extra community"
TARGET_GROUPS="base"
TARGET_PACKAGES="openssh netcfg hal acpi acpid rpcbind alsa-lib alsa-utils alsa-oss gcc sdl sdl_mixer libmikmod libmad audiofile boost carolo/libtremor-svn carolo/libftd2xx carolo/bluez-utils-sixaxis carolo/bluez-libs"
# you can optionally also override some functions...
worker_intro () {
infofy "Herzlich Willkommen beim automatischen Installationsprozess zur Archlinux Installation für das Carolo DHBW-System.\r\nACHTUNG: IM FOLGENDEN WIRD DIE GESAMTE FESTPLATTE (/DEV/SDA) FORMATIERT! SOLLTEN SIE DIES NICHT WÜNSCHEN, SO BRECHEN SIE NUN MIT STRG+C AB! ANDERNFALLS DRÜCKEN SIE BITTE DIE ENTER-TASTE, UM DAS SETUP ZU STARTEN!"
read -s
worker_configure_system () {
prefill_configs
sed -i 's/^HOSTNAME="myhost"/HOSTNAME="caroloDHBW"/' $var_TARGET_DIR/etc/rc.conf
sed -i 's/^LOCALE="en_US/LOCALE="de_DE/' $var_TARGET_DIR/etc/rc.conf
sed -i 's/^KEYMAP="en"/KEYMAP="de"/' $var_TARGET_DIR/etc/rc.conf
# These variables are mandatory
GRUB_DEVICE=/dev/sda
PARTITIONS='/dev/sda 100:ext2:+ 2048:swap *:ext4'
BLOCKDATA='/dev/sda1 raw no_label ext2;yes;/boot;target;no_opts;no_label;no_params
/dev/sda2 raw no_label swap;yes;no_mountpoint;target;no_opts;no_label;no_params
/dev/sda3 raw no_label ext4;yes;/;target;no_opts;no_label;no_params'
</code>
The installation crashes with the following message:
<quote>
error: 'carolo/libtremor-svn': no such repository
error: repository 'carolo' not found
</quote>
Maybe someone did solve the problem before.
Thanks!
Regards Dustin

EDIT: crap. sorry I misread
check if the iso has a carolo directory/file in /src/core/pkg (just like there should be one for core etc)
initial solution to what I just found out was not really your question below:
dronox wrote:<code>
SOURCE=cd
FILE_URL=file:///src/core/pkg
TARGET_REPOS="carolo core extra community"
</code>
you're mixing up repos with mirrors (or maybe I just didn't pick the names of the variables careful enough).
what you have configured here, is to use /src/core/pkg as mirror (just like you have archlinux.org mirror and many more), and to enable the core, extra, community and carolo repositories on it.
but obviously, there is no 'carolo' repository on the official install image (just like there is no carolo repository on any of the official archlinux mirrors).
what you probably want to do, is something like:
SOURCE=net
SYNC_URL=http://192.168.1.1 # your own personal mirror here
TARGET_REPOS="carolo core extra community"
this way it will use *your* mirror which has all the listed repositories.
good luck!
Last edited by Dieter@be (2009-11-20 21:09:01)

Similar Messages

  • S11 add content to a locall repo

    I would like to create a local repository that includes just a couple of packages ie FireFox, Gzip ... etc.
    I think I have figured out how to create the local repo, but how do I add specific pkgs to this.
    Thanks,
    M

    Did you see this section?
    Customizing Your Local Repository
    http://docs.oracle.com/cd/E23824_01/html/E21803/customizerepo.html
    You can create a repository that is a subset of the source repository. The following command copies all versions of the group/feature/amp package and all dependencies of those versions to the amprepo repository. The amprepo repository was previously created using the pkgrepo create command.
    # pkgrecv -s http://pkg.oracle.com/solaris/release/ -d /export/amprepo -m all-versions -r group/feature/amp
    So you could do something like:
    # pkgrecv -s http://pkg.oracle.com/solaris/release/ -d /my/repo pkg1 pkg2 pkg3
    See also the pkgrecv.1 man page
    http://docs.oracle.com/cd/E23824_01/html/E21796/pkgrecv-1.html
    which starts:
    pkgrecv allows the user to retrieve packages from a pkg(5) repository or package archive. pkgrecv can also optionally republish the retrieved packages to a different package repository
    See examples 4 and 5

  • How to download the Solaris 11.2 latest SRU in order to update the local repo offline

    Hello,
    I am not able to find the SRU patchset to download in order to update the local repo offline. Any idea.

    These are actually in zipped archive format rather than ISO. You will probably want the install guide patch that includes the script that will help apply the incremental SRU repo on top of an existing local repository:
    https://updates.oracle.com/Orion/PatchDetails/process_form?patch_num=20845983
    All the SRUs are documented in this MOS page, along with the SRU READMEs:
    Oracle Solaris 11.2 Support Repository Updates (SRU) Index
    https://support.oracle.com/epmos/faces/DocumentDisplay?id=1672221.1
    -- Alan

  • Oracle VM Manager V2V Issue revolving Local Repo to each host.

    Hi all,
    I have 5 oracle SPARC hosts running in my environment. But the problem starts when I'm forced to commit to an unusual storage mapping by mapping each hosts to their individual local repository. Bear in mind that this is due to storage architecture constraint that we are forced to adapt to this form of mapping
    Host 1 -> Repo1
    Host 2 -> Repo2
    Host 3 -> Repo3
    Host 4 -> Repo4
    Host 5 -> Repo5
    Everything works out fine but we all know that V2V migration by OVM manager will not be possible because each hosts are only presented with their own local repo. I was wondering if we could somehow re-work the migration process. I tried this idea of a migration process.
    1. Copy a virtual disk from host 1 to host 2 via SCP
    2. Rebuild the VM via LDOM commands on host 2 with the transferred virtual disk.
    3. When the VM is booted up via the terminal everything works out fine.
    However OVM recognizes the VM as an orphan VM. The VM can still be accessed but cannot be editted via the OVM manager. This is because the OVM manager does not recognize the immediate changes done via the host terminal. I tried refreshing everything (server, disks), the OVM still cannot be updated and recognize the new VM was orphan.
    The following are my inquiries:
    1. Is my method feasible? Technically the VM was successfully cloned and migrated but in an orphan state. Is there a way to reactivate it?
    2. Is there a better V2V method than this? (Local Repo constraint applied)
    3. With this current architecture, is it possible to still carry out P2V migration?
    Thanks and Best Regards,
    Jerry

    Hi all,
    I have 5 oracle SPARC hosts running in my environment. But the problem starts when I'm forced to commit to an unusual storage mapping by mapping each hosts to their individual local repository. Bear in mind that this is due to storage architecture constraint that we are forced to adapt to this form of mapping
    Host 1 -> Repo1
    Host 2 -> Repo2
    Host 3 -> Repo3
    Host 4 -> Repo4
    Host 5 -> Repo5
    Everything works out fine but we all know that V2V migration by OVM manager will not be possible because each hosts are only presented with their own local repo. I was wondering if we could somehow re-work the migration process. I tried this idea of a migration process.
    1. Copy a virtual disk from host 1 to host 2 via SCP
    2. Rebuild the VM via LDOM commands on host 2 with the transferred virtual disk.
    3. When the VM is booted up via the terminal everything works out fine.
    However OVM recognizes the VM as an orphan VM. The VM can still be accessed but cannot be editted via the OVM manager. This is because the OVM manager does not recognize the immediate changes done via the host terminal. I tried refreshing everything (server, disks), the OVM still cannot be updated and recognize the new VM was orphan.
    The following are my inquiries:
    1. Is my method feasible? Technically the VM was successfully cloned and migrated but in an orphan state. Is there a way to reactivate it?
    2. Is there a better V2V method than this? (Local Repo constraint applied)
    3. With this current architecture, is it possible to still carry out P2V migration?
    Thanks and Best Regards,
    Jerry

  • Add custom local group with similar power as Windows BUILTIN\Administrators group

    In windows 7 or windows 8
    Is there any possibility to create a custom Local group having the same power/privileges as it does the BUILTIN\Administrators group.
    If yes; how?
    For instance:  I created a new local group, then in Local Security Policy(secpol.msc) \Security Settings\Local Policies\User Rights Assignments I added all the available policies where the Administrators group was also there, then I create a normal
    local user and assigned this new customized group, however the user never obtained the sufficient power as it does a user from Administrators group.
    Can anyone help?
    Thanks in advance.

    I don't think you can create a replica for Admin group.
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Local-repo ~ a local repository manager with AUR support

    Hey people,
    i want to announce the release of local-repo 1.6.2. I made it to easily build and manage my own repos with fancy features like:
    caching & logging
    config file support
    AUR support - add & upgrade packages from the AUR
    an ABS like PKGBUILD store
    a buildlog store
    package and database signing
    localization
    Maybe this is something for you, too.
    Visit the projects website [1], if you want to know more about it.
    The PKGBUILD is available in the AUR [2].
    Much fun, ushi
    [1] http://ushi.wurstcase.net/local-repo/
    [2] https://aur.archlinux.org/packages.php?ID=56876
    Edit:
    The first run should be something like this:
    $ mkdir testrepo && local-repo testrepo -A vim-html5-git
    This will create a new repo in the directory testrepo and add vim-html5-git from the AUR.
    Last edited by ushi (2012-03-31 12:04:40)

    Awesome! Looks like what I need, let's see if I can get it to work.

  • Hard Copy function in Customized Local layout ( Alt +F12) on tool bar

    Hi Experts,
    In SAP, the last button on the tool bar (i.e Customized Local layout - Alt + F12) use to automatically print a copy of the current transaction on screen when we selected the u201CHard Copyu201D command.
    But now, when we select u201CHard Copyu201D a screen comes up as if to save as a file. How can we change so as to automatically print?
    Thanks in advance
    Raghu

    hi,
    This is because of incorrect print configuration.
    Goto,
    From any report program select:
    Program-->print. In the print list screen window , click on properties.
    check whether these values are there in correspodnign field .
    1.Tome of printing -- print out immediately
    2.format -- x_65_132.
    3.sppol request -- (any name with RS).
    4.SAp cover sheets -- default settings .
    5.os cover sheet -- default setings.
    6.New sppol request --- yes
    Let me know if u still have the problem .

  • Custom Locales deployment

    Hi,
    I am trying to deploy a custom locale using Webstart but am unable to get the custom extension to deploy to the lib/ext directory of the current JRE. This is required for the application/java platfrom to detect the new locales.
    I have tried using the Webstart extension tag in my JNLP but this has not worked (although copying the custom locales jar to the lib/ext directory of the JRE does work)
    Below is a snippet of the JNLP that I am using:
    <information>
      <title>Locale test</title>
      <security>
         <all-permissions/>
      </security>
      <offline-allowed/>
      <description>Demonstration of JNLP & Locale customization</description>
    </information>
    <resources>
      <j2se version="1.6+" />
      <jar href="test_locals.jar"/>
      <extension names="locales" href="locals.jnlp">
      <ext-download ext-part="locales" part="locales"/>
      </extension>
    </resources>Any help that can be prvoided will be greatly appreciated :-)
    Thanks in Advance,
    Carl

    A small error in the JNLP - the security tags should be outside of the information tags and the attribute of extension is name, not names:
      <offline-allowed/>
      <description>Demonstration of JNLP & Locale customization</description>
    </information>
      <security>
         <all-permissions/>
      </security>
    <extension name="locales" href="locals.jnlp">I have tried using a custom installer and copying the file directly to the lib/ext directory. This works fine except that I cannot get the JVM to load the custom format classes for the locale on the first load - in other words, I need to restart the JVM or add the classes to the classpath for these locales to be recognised on startup (the first time the app is started anyway)
    I have tried adding the classes to both the System classloader (ClassLoader.getSystemClassloader, and to the parent of the ContextClassLoader (Thread.currentThread().getContextClassLoader().getParent()) but neither of those seem to affect the JVM that the application is running in.
    Any ideas would be great.
    Thanks,
    Carl

  • Local repo breaks yum

    Hi All
    I have followed the documentation for setting up a local repo. Up2date works, grabs the files from my system, but yum fails with a trace back. If I disable the yum line in sources, yum works again, but then up2date says that all files are up to date. Does anyone have any ideas?
    Thanks

    Well, I created the repo on a local machine as per Oracles instructions. I run the update script to keep it updated from Oracles site using a CSI. I then configure a client as per their instructions, creatinga ULN-repo file in /etc/yum.repo.d pointing to my server. Then I modified /etc/sysconfig/rhn/sources, commenting out the up2date default line and adding yum ol5_x86_64_mine http://mdi-04/yum/OracleLinux/OL5/latest/$basearch/. When I run up2date, it goes to the repo, gets the file list and presents me with packages to update. If I run yum update, I get a traceback:
    Traceback (most recent call last):
    File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
    File "/usr/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
    File "/usr/share/yum-cli/yummain.py", line 157, in main
    base.getOptionsConfig(args)
    File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
    self.conf
    File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 665, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
    File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 254, in _getConfig
    self.plugins.run('init')
    File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
    func(conduitcls(self, self.base, conf, **kwargs))
    File "/usr/lib/yum-plugins/rhnplugin.py", line 159, in init_hook
    repo = RhnRepo(channel)
    File "/usr/lib/yum-plugins/rhnplugin.py", line 274, in __init__
    self.gpgkey = get_gpg_key_urls(channel['gpg_key_url'])
    File "/usr/share/rhn/up2date_client/rhnChannel.py", line 48, in __getitem__
    return self.dict[item]
    KeyError: 'gpg_key_url'
    If I comment out the yum line that I added to the sources file, yum works, but then up2date tells me that there are no files to be updated, even though I didn't update any files.

  • [solved] local repo not listed during -Sy

    So the loal repo "[myrepo]" is defined in pacman.conf:
    $ cat /etc/pacman.conf | grep -A1 myrepo
    [myrepo]
    Server = file:///home/filip/pkg/64bit
    But when I do pacman -Sy or -Syy, pacman output looks like this:
    $ pacman -Syy
    :: Synchronizing package databases...
    testing 24.7K 424.3K/s 00:00:00 [###################################################] 100%
    core 31.4K 451.0K/s 00:00:00 [###################################################] 100%
    extra 396.6K 238.3K/s 00:00:02 [###################################################] 100%
    community 354.0K 489.2K/s 00:00:01 [###################################################] 100%
    The local repo is not listed among the repos that are refreshed, but it does appear to be refreshed, because when I search for a package in this repo I can find it without any problems:
    $ pacman -Ss exo
    extra/exo 0.3.4-2 (xfce4)
    Extensions to Xfce by os-cillation
    myrepo/exo 0.3.4-2 (xfce4)
    Extensions to Xfce by os-cillation
    Is this a bug in pacman 3.2?  A feature?  A problem on my system?  Can someone confirm before I file a bug report?
    Last edited by fwojciec (2008-08-18 19:09:19)

    It was an "incomplete feature" of 3.2 which will be dropped in 3.2.1 :
    http://projects.archlinux.org/?p=pacman … 576a447b5b

  • Accessing custom pacman repo through SSH

    Hi,
    I have created a local custom repository with
    repo-add
    on a server accessible only through SSH.
    Is there a way to configure the clients'
    /etc/pacman.conf
    to access the files through SSH? I think pacman uses curl as its backend, so it would be technically possible to do this.
    Thanks!
    Last edited by valandil (2015-02-17 20:19:24)

    the proxy env is ok in superuser env
    ➜  ~ git:(master) ✗ export | grep proxy
    ftp_proxy=http://proxy.zte.com.cn:80
    http_proxy=http://proxy.zte.com.cn:80
    https_proxy=http://proxy.zte.com.cn:80
    rvm_proxy=''
    ➜  ~ git:(master) ✗ su   
    Password:
    [root@myhost jinleileiking]# export | grep proxy
    declare -x ftp_proxy="http://proxy.zte.com.cn:80"
    declare -x http_proxy="http://proxy.zte.com.cn:80"
    declare -x https_proxy="http://proxy.zte.com.cn:80"

  • How CAN I setup a custom local DTD to be used with XERCES

    Hi,
    can anyone help?
    I have to use a local DTD with XERCES which should be always used ("overwrite" the one specified in DOCTYPE if it exist, or should be used if no DOCTYPE is specified)
    I can not use EntityResolver because resolveEntity() is not called if there is no DOCTYPE specified.
    Also I can not use XSD because I have only DTD rules.
    Thanks,
    Cristian

    Thanks for your reply,
    what about using XERCES XNI?
    I could load a Grammar, as specified in the sample file xni.XMLGrammarBuilder from XERCES-J 2.8.1 samples, but I couldn't find a possibility to force it to be used with any document.
    Do you know? is it any possibility to do it?

  • How do I set up a custom (local) Sync server for Firefox 4?

    I am having difficulty finding a clear set of instructions on how to set up a custom Sync server for Firefox 4. Most of the information that I can find seems outdated (only mentioning Weave and/or previous versions of Firefox).

    The URL you are looking for is https://wiki.mozilla.org/Labs/Weave/Sync/1.1/Setup

  • Asdoc how to add a custom local namespace with manifest file?

    Hi there,
    I use the flex 4 beta1 sdk to test the following:
    I have:
    MainScreen.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        xmlns:views="com.xyz.core.view.components.*"
        >
        <views:AbcView id="abcView" right="20" />
    </s:Group>
    I tried to use a manifest file which seems to be how to handle this kind of situation (using ant):
        <arg line="-namespace views ${manifest.file}"/>
        <arg line="-doc-namespaces views"/>
    the manifest.xml contain the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <componentPackage>
               <component id="AbcView" class="com.xyz.core.view.components.AbcView" />
    </componentPackage>
    when I compile asdoc return the following error:
    ...MainScreen.mxml(52):  Error: Type was not found or was not a compile-time constant: AbcView
    Any idea how I can force asdoc to add/recognize AbcView.mxml ? Is my use of manifest file correct in this situation?
    Thank you in advance for your help.
    Best regards.
    maddec

    Hello,
    >Do you have the source path defined?
    yes definitely.
    >and does it contains the folder that is parent of com.xyz.core.view.components ?
    yes absolutely
    >Can you post your complete call to asdoc?
    Please find below the ant task I use:
    Thank you very much for your help.
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="asdoc" default="main" basedir=".">
    <!--
        Properties Definitions
    -->
        <!-- The Location of Flex on your Computer -->
        <property name="Flex.dir" location="C:\Program Files (x86)\Adobe\Flex Builder 3 Plug-in"/>
        <!-- The Location of FlexSDK on your Computer -->
        <property name="FlexSDK.dir" location="${Flex.dir}\sdks\4.0.0.7219"/>
        <!-- <property name="FlexSDK.latest.build.dir" location="${Flex.dir}\sdks\4.0.0.12412"/> -->
        <!-- The Location of ASDocs on your Computer -->
        <property name="asDocs.exe" location="${FlexSDK.dir}\bin\asdoc.exe"/>
        <!-- main path info -->   
        <!--
            The Location of your Application Classes on your Computer
            NOTE: This Path should be relative to the build.xml file.
            NOTE: ${basedir} is an ant property that represents the directory holding the build.xml file
            NOTE: I have encountered issues with this folder containing Spaces
        -->
        <property name="AppClasses.dir" value='-doc-sources "${basedir}/src"'/>
        <property name="asdoc.source.paths" value='-source-path "${basedir}/src/"' />
        <!-- configs -->
        <property name="asdoc.config" value='-load-config="${FlexSDK.dir}/frameworks/flex-config.xml"' />
        <property name="sp.config" value='-load-config+="${basedir}/conditionalCompil.xml"' />
        <!-- additional path info -->   
        <property name="source.path.srcShared" value='-source-path+="D:/analogdesign/Clients/Minsh/flash/GIT-sources/minsh-flex-widget/s rcShared"' />
        <property name="libs.path" value='-external-library-path="${basedir}/libs"' />
        <!-- custom components -->
        <property name="manifest.file" location="${basedir}\ant\customCpnsManifest.xml" />
        <!-- branding data -->
        <property name="window.title" value='-window-title="Minsh API Documentation"' />
        <property name="main.title" value='-main-title="Minsh API Documentation"' />
        <!--
            The Location you wish to output to on your Computer
            NOTE: I have encountered issues with this folder containing Spaces
            NOTE: This location gets DELETED and re-generated each time the build is run
        -->
        <property name="output.dir" location="${basedir}\output\AppDocs"/>
        <property name="asdoc.output" value='-output="${output.dir}"' />
    <!--
        Execute the ASDoc Compile
    -->
    <target name="main" depends="clean,compile" description="full build of asdocs"/>
    <!--
        DELETE the existing output folder and files and then re-generate the output folder
    -->
    <target name="clean">
        <delete dir="${output.dir}" failOnError="false" includeEmptyDirs="true"/>
        <mkdir dir="${output.dir}"/>
    </target>
    <!--
        Run the ASDoc executable and generate the ASDocs to the new output folder
    -->
    <target name="compile">
        <exec executable="${asDocs.exe}" failonerror="true">
            <arg line="${asdoc.config}"/>
            <arg line="${sp.config}"/>
            <arg line="${asdoc.source.paths}"/>
            <arg line="${AppClasses.dir}"/>
            <arg line="${libs.path}"/>
            <arg line="${source.path.srcShared}"/>
            <arg line="-namespace views ${manifest.file}"/>
            <arg line="-doc-namespaces views"/>
            <arg line="${window.title}"/>
            <arg line="${main.title}"/>
            <arg line="${asdoc.output}"/>
        </exec>
    </target>
    </project>
    Best regards.
    maddec

  • URGENT - Forcing a custom locale in the BC4J/JBO framework

    Hi,
    How can I force a locale in the JSP/JBO framework, something similar to:
    alter session set nls_territory =
    or
    alter session set nls_date_format =
    I tried to get the SessionImpl and forced a new Locale, but it seems it is in the JBOimpl first set, so anything I tried had no success.
    Please please advise !
    TIA,
    Seb.

    But this doesn't solve the problem. Calling alter session will change how numbers and dates are rendered by the database, but the business components still store them as Numbers and Dates, rendering them in their own way. How do we change the way jbo.domain.Numbers and jbo.domain.Dates are rendered as String?

Maybe you are looking for