Qixiang Wan
2010-Mar-29 04:43 UTC
[Libguestfs] appliance/make.sh won't update when re-configure with new mirror (or updates) url
Hi, all: When I re-configure in the source directory, and then make the build. It will use the previous urls of mirror and updates which I specified via --with-mirror and --with-updates. for example: the previous command line I used is: 1. $ ./autogen.sh --with-mirror='http://wrongurl/fedora/os/' --with-updates='http://wrongurl/fedora/updates' --with-repo='wrong_repo' 2. $ make Then I want to make the build with new mirror and updates url: 1. $ make clean 2. ./autogen.sh --with-mirror='http://righturl/fedora/os/' --with-updates='http://righturl/fedora/updates' --with-repo='right_repo' 3. $ make I can see the following line in the output of step 2: --- configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--with-mirror=http://righturl/fedora/os/' '--with-updates=http://righturl/fedora/updates' '--with-repo=right_repo' --cache-file=/dev/null --srcdir=. --- but the febootstrap command which is generated during step 3 (make ) still use the previous urls: --- + febootstrap -i augeas-libs -i btrfs-progs -i diffutils -i e4fsprogs -i gfs-utils -i gfs2-utils -i hfsplus-tools -i iputils -i kernel -i MAKEDEV -i nilfs-utils -i ntfsprogs -i reiserfs-utils -i libselinux -i udev -i util-linux-ng -i vim-minimal -i bash -i binutils -i coreutils -i dosfstools -i file -i grub -i jfsutils -i lsof -i lvm2 -i module-init-tools -i net-tools -i ntfs-3g -i parted -i procps -i scrub -i strace -i xfsprogs -i zerofree -u http://wrongurl/fedora/updates wrong_repo initramfs http://wrongurl/fedora/os/ --- the appliance/make.sh is not updated during make, so it will use the old one to build ramdisk, is there anything wrong with my steps?
Richard W.M. Jones
2010-Mar-29 13:16 UTC
[Libguestfs] appliance/make.sh won't update when re-configure with new mirror (or updates) url
On Mon, Mar 29, 2010 at 12:43:54AM -0400, Qixiang Wan wrote:> Hi, all: > When I re-configure in the source directory, and then make the build. It will use the previous urls of mirror and updates which I specified via --with-mirror and --with-updates.Yes, I've noticed this too, and it's a dependency bug.> the appliance/make.sh is not updated during make, so it will use the old one to build ramdisk, is there anything wrong with my steps?No, it's just a bug. You can do: rm -f appliance/make.sh before the rebuild. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
Seemingly Similar Threads
- [PATCH] RHEV: Fix generation of OVF file
- [PATCH] Fix the default value of "pgroup".
- CEBA-2013:0094 CentOS 5 e4fsprogs Update
- CEBA-2013:1789 CentOS 5 e4fsprogs Update
- [PATCH] Even on Debian, the package containing the diff binary it has been diffutils for two years.