search for: install_root

Displaying 20 results from an estimated 26 matches for "install_root".

2009 Sep 08
2
[PATCH node-image] Add ability to set persistent ssh_host_keys on the node, usefull if you run diskless instance of ovirt-node
....ks | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/ovirt-node-image.ks b/ovirt-node-image.ks index 802b6a5..d698497 100644 --- a/ovirt-node-image.ks +++ b/ovirt-node-image.ks @@ -55,6 +55,22 @@ if [ -f "ovirt-authorized_keys" ]; then chmod 644 $INSTALL_ROOT/root/.ssh/authorized_keys fi +if [ -f ovirt-ssh_host_dsa_key -f ovirt-ssh_host_dsa_key.pub \ + -f ovirt-ssh_host_key -f ovirt-ssh_host_key.pub \ + -f ovirt-ssh_host_rsa_key -f ovirt-ssh_host_rsa_key.pub ]; then + echo "Adding persistent ssh_keys for host to Image" + mkdir -p...
2009 Sep 10
0
Re: persistent ssh_host_keys
...etions(-) > > > > diff --git a/ovirt-node-image.ks b/ovirt-node-image.ks > > index 802b6a5..d698497 100644 > > --- a/ovirt-node-image.ks > > +++ b/ovirt-node-image.ks > > @@ -55,6 +55,22 @@ if [ -f "ovirt-authorized_keys" ]; then > > chmod 644 $INSTALL_ROOT/root/.ssh/authorized_keys > > fi > > > > +if [ -f ovirt-ssh_host_dsa_key -f ovirt-ssh_host_dsa_key.pub \ > > + -f ovirt-ssh_host_key -f ovirt-ssh_host_key.pub \ > > + -f ovirt-ssh_host_rsa_key -f ovirt-ssh_host_rsa_key.pub ]; then > > + echo "Addin...
2010 Apr 13
1
[PATCH node] refactor node image recipe
...r-$rel-$arch" > $manifests/ovirt-release +tar -cvf ovirt-node-image-manifests-$ver-$rel.$arch.tar -C /tmp manifests +ln -nf ovirt-node-image-manifests-$ver-$rel.$arch.tar ovirt-node-image-manifests.tar +rm -Rf $manifests +%end + +%post --nochroot +# Move manifest tar to build directory +mv $INSTALL_ROOT/ovirt-node-image-manifests*.tar . + +# only works on x86, x86_64 +if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then + if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi + cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS +...
2009 Sep 08
0
[PATCH node-image] Working version of Add the ability to use persistent ssh_host_keys on the ovirt-node
....ks | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/ovirt-node-image.ks b/ovirt-node-image.ks index 802b6a5..9a7d617 100644 --- a/ovirt-node-image.ks +++ b/ovirt-node-image.ks @@ -55,6 +55,22 @@ if [ -f "ovirt-authorized_keys" ]; then chmod 644 $INSTALL_ROOT/root/.ssh/authorized_keys fi +if [ -f ovirt-ssh_host_dsa_key -a -f ovirt-ssh_host_dsa_key.pub -a\ + -f ovirt-ssh_host_key -a -f ovirt-ssh_host_key.pub -a \ + -f ovirt-ssh_host_rsa_key -a -f ovirt-ssh_host_rsa_key.pub ]; then + echo "Adding persistent ssh_keys for host to Image&quo...
2019 Nov 05
1
Segmentation fault using rsync client on Android device
I've compiled rsync for my rooted Android (armeabi-v7a, 32-bit) device using these instructions: ``` clone_or_update rsync master git://git.samba.org/rsync.git cd rsync ./prepare-source ./configure \ --prefix=$INSTALL_ROOT/rsync \ --host=$AUTOCONF_PLATFORM \ CFLAGS="$CFLAGS -static" make -j8 && make install cd - ``` Best place for instructions to build I could find were here: https://stackoverflow.com/a/18032833/157971 I didn't get any compiler or linker errors. It seemed to work. I cop...
2013 May 18
1
CentOS 5.9 LiveCD build on CentOS 6.4?
...rpmdb: Program version 4.7 doesn't match environment version 0.128 error: db3 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch error: cannot open Packages index using db3 - (-30971) error: cannot open Packages database in /var/tmp/imgcreate-NYkHAD/install_root/var/lib/rpm Program version 4.7 doesn't match environment version 0.128 Program version 4.7 doesn't match environment version 0.128 umount: /var/tmp/imgcreate-NYkHAD/install_root/proc: device is busy. (In some cases useful info about processes that use the device is found...
2013 Mar 23
1
[LLVMdev] LLVM 3.2 compilation with RTTI enabled
Hi all, I'm having problems compiling LLVM 3.2 with RTTI enabled. Since my code makes heavy use of the Boost libraries, RTTI is a must. This is the script I use to compile (as root): SRC_ROOT=$PWD OBJ_ROOT=/export/apps/llvm INSTALL_ROOT=/usr/local mkdir -p $OBJ_ROOT cd $OBJ_ROOT $SRC_ROOT/configure --prefix=$INSTALL_ROOT \ --enable-ltdl-install \ --enable-jit \...
2006 Mar 30
1
RE: [RFC][PATCH] create an initrd for dom0 in install.shscript
...inux-2.6-xen-sparse/arch/i386/boot-xen/Makefile > --- a/linux-2.6-xen-sparse/arch/i386/boot-xen/Makefile > Wed Mar 29 > 23:11:53 2006 > +++ b/linux-2.6-xen-sparse/arch/i386/boot-xen/Makefile > Thu Mar 30 > 14:57:57 2006 > @@ -19,3 +19,4 @@ > install -m0664 .config > $(INSTALL_ROOT)/boot/config-$(XINSTALL_NAME)$(INSTALL_SUFFIX) > install -m0664 System.map > $(INSTALL_ROOT)/boot/System.map-$(XINSTALL_NAME)$(INSTALL_SUFFIX) > ln -f -s vmlinuz-$(XINSTALL_NAME)$(INSTALL_SUFFIX) > $(INSTALL_ROOT)/boot/vmlinuz-$(VERSION).$(PATCHLEVEL)$(XENGUES > T)$(INSTALL_SUFFI...
2011 Dec 10
2
A few errors with virt-p2v-image-builder
...####### [307/307] Note: Forwarding request to 'systemctl enable NetworkManager.service'. error reading information on service auditd: No such file or directory Starting Kickstart Post Creating shadow files Forcing C locale [Errno 2] No such file or directory: '/var/tmp/imgcreate-vC5xTf/install_root/usr/share/locale' ignoring %post failure (code 1) Removing python source files Customizing boot menu Creating manifest....done Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 563, in <module> File "/usr/lib/python2.7/site.py", line 545, i...
2009 Jan 20
3
Using centos and kickstart to build a minimum installation
Using centos 5.2, I want to use a kickstart file to select packages in order to have an unattended install onto a bare-metal server. Is there any way of finding out which packages I need to compile, build and run asterisk ? I generally want to build all modules in asterisk and the wct4xxp zaptel module I want to be able to not select any groups in the kickstart file, but only select
2013 May 10
4
remotely mounting client disks in p2v server
Just spent a little time poking around w/ p2v and am attaching the following pseudo-code for consideration. Note the patches aren't commit ready yet, just looking for thoughts - The first is a fix to get client image building process working on F17. It seems the version of ksflatten there didn't expand the nested %includes which was causing errors (also --interpreter image-minimizer
2015 Mar 24
2
error building php spec file
...=mysqlnd --with-pdo-mysql=mysqlnd \ --with-pdo-sqlite --with-tidy --with-pear=%{_datadir}/php/pear --disable-debug make %{?_smp_mflags} %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_initrddir} install -Dp -m0755 sapi/fpm/init.d.php-fpm.in %{buildroot}%{_initrddir}/php-fpm %{__make} install INSTALL_ROOT="%{buildroot}" %clean rm -rf %{buildroot} %post %/sbin/chkconfig php-fpm on %preun if [ "$1" = 0 ] ; then /sbin/service php-fpm stop > /dev/null 2>& /sbin/chkconfig --del php-fpm fi exit 0 %postun if [ "$1" -ge 1 ]; then /sbin/service php-fpm...
2009 Sep 09
1
oVirt Appliance / Single Machine Install
The following two patches fixes / reimplements the oVirt appliance project, installing the entire oVirt stack including all server and node components on one machine. These patches are intended to be checked out and used to build the appliance rpm, after which it is installed provides the /usr/sbin/ovirt-appliance-ctrl script to install/uninstall the appliance. The first patch merely removes
2011 Jul 23
0
[PATCH] move dracut config and patching to spec
......" -kernel="$(rpm -q --qf '%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel)" -/sbin/dracut -f -a "ovirtnode" -a "multipath" /initrd0.img "$kernel" -echo "done." - -%end - -%post --nochroot - -# replace initramfs if regenerated -if [ -f "$INSTALL_ROOT/initrd0.img" ]; then - mv -v "$INSTALL_ROOT/initrd0.img" "$LIVE_ROOT/isolinux/initrd0.img" -fi - -%end diff --git a/recipe/ovirt-node-image.ks.in b/recipe/ovirt-node-image.ks.in index 2c9fcf6..5eaa813 100644 --- a/recipe/ovirt-node-image.ks.in +++ b/recipe/ovirt-node-image...
2015 Mar 24
2
error building php spec file
...> > --disable-debug > > > > make %{?_smp_mflags} > > > > %install > > rm -rf %{buildroot} > > mkdir -p %{buildroot}%{_initrddir} > > install -Dp -m0755 sapi/fpm/init.d.php-fpm.in > > %{buildroot}%{_initrddir}/php-fpm > > %{__make} install INSTALL_ROOT="%{buildroot}" > > > > %clean > > rm -rf %{buildroot} > > > > %post > > %/sbin/chkconfig php-fpm on > > > > %preun > > if [ "$1" = 0 ] ; then > > /sbin/service php-fpm stop > /dev/null 2>& > > /s...
2009 Oct 14
4
Refactor ovirt-node-image code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Removed ks files, now in ovirt-node-recipe, which is subpackage of ovirt-node. Removed tools, these are now in ovirt-node-recipe which is subpackage of ovirt-node.
2015 Mar 24
0
error building php spec file
...qlite --with-tidy --with-pear=%{_datadir}/php/pear > --disable-debug > > make %{?_smp_mflags} > > %install > rm -rf %{buildroot} > mkdir -p %{buildroot}%{_initrddir} > install -Dp -m0755 sapi/fpm/init.d.php-fpm.in > %{buildroot}%{_initrddir}/php-fpm > %{__make} install INSTALL_ROOT="%{buildroot}" > > %clean > rm -rf %{buildroot} > > %post > %/sbin/chkconfig php-fpm on > > %preun > if [ "$1" = 0 ] ; then > /sbin/service php-fpm stop > /dev/null 2>& > /sbin/chkconfig --del php-fpm > fi > exit 0 > &g...
2009 Oct 14
8
Refactor ovirt-node code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Moves tools and kickstart files form ovirt-node-image to subpackage ovirt-node-recipe. Removes old sub packages form ovirt-node, stateless, logos, selinux. Modifies init scripts to meet Fedora packaging guidelines: added status, reload, and lockfile, rhbz: 514221 Added License file.
2012 Jan 27
1
need help to build livecd and create success iso file but it hang
Hi all my environment: 1/ windows 7 OS system 2/ use virtual box install the host centos system i try to make a centos livecd and i follow the step 1/ create file: vi /etc/yum.repos.d/centos-livecd.repo and the content of file: # Name: CentOS LiveCD repository [livecd] name = CentOS $releasever - LiveCD baseurl =
2005 Dec 29
7
Building PHP PECL modules
I'm attempting to build some PECL modules on fully updated CentOS 4.2 system. Preferably pack them into nice RPM packages. However, seems I'm missing something. For example, this is what I get for sqlite module: $ pear makerpm SQLite-1.0.3.tgz `phpize' failed The php-devel package is installed (so I do have phpize command). It's just that it is failing. If I unpack the