Displaying 20 results from an estimated 22 matches for "install_file".
2007 Nov 08
3
Downloading a file into a directory that does not exist
Hello again, all:
When downloading a file from the puppetmaster''s fileserver, like so:
==========SNIP==========
define install_file ($mode = 0644, $owner = ''root'', $group = ''root'') {
file { "${name}":
source => [
"puppet://${puppetserver}/dist/files/${name}_${operatingsystem}",
"puppet://${puppetserver}/dist/files/${name}"
],...
2014 Dec 24
0
[PATCH 1/8] extlinux/main.c: support unmounted ext2/3/4 filesystem
Add install_file_to_device() to support unmounted ext2, ext3 and ext4
filesystem.
Usage:
$ extlinux -i /dev/sdXN
or
$ extlinux -i file_block
We don't need any new options, it will check whether the target is a
directory or device and decide what to do, it would stop and error if
the device is mounted.
More i...
2012 Feb 12
7
Shorewall 4.5.0
The Shorewall Team is pleased to announce the availability of Shorewall
4.5.0.
----------------------------------------------------------------------------
P R O B L E M S C O R R E C T E D I N T H I S R E L E A S E
----------------------------------------------------------------------------
1) This release includes all defect repair included in
4.4.27.1-4.4.27.3.
2) The start
2014 Mar 02
0
3/2/2014 Samba4 git pull make clean error
...amba-master/buildtools/wafadmin/Utils.py", line 647, in
recurse
exec(compile(txt, file_path, 'exec'), dc)
File "/usr/local/samba-master/pidl/lib/wscript_build", line 32, in
<module>
flat=False)
File "./buildtools/wafsamba/wafsamba.py", line 762, in INSTALL_FILES
base_name=base_name)
File "./buildtools/wafsamba/wafsamba.py", line 738, in install_file
dest = os.path.join(destdir, destname)
File "/usr/local/lib/python2.7/posixpath.py", line 77, in join
elif path == '' or path.endswith('/'):
AttributeError:...
2015 Nov 13
4
[PATCH] extlinux: code cleanup and simplification
Merge btrfs_read_adv and xfs_read_adv into a single generic function
ext_read_adv and split ext_write_adv_offset out of ext_write_adv.
Use those new functions in rewrite_boot_image and btrfs_install_file
where it is actually hardcoded.
Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr>
---
extlinux/main.c | 113 +++++++++++++++++++++++++++-----------------------------
1 file changed, 55 insertions(+), 58 deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index 6871fb1..a2a396a 1...
2014 Dec 24
14
[PATCH 0/8] extlinux: support unmounted ext2/3/4 filesystem
...ub.com/robertlinux/sys_tmp.git unmounted_ext
for you to fetch changes up to a3603826b88c5f000c5b0ba519cd0a5252eb6c6b:
libinstaller/syslxopt.c: update the help text. (2014-12-24 16:07:50 +0800)
Robert Yang (8):
extlinux/main.c: support unmounted ext2/3/4 filesystem
extlinux/main.c: implement install_file_to_device()
extlinux/main.c: implement handle_adv_on_device()
extlinux/main.c: implent ext_read/write_xx_fs()
extlinux/main.c: implement write_to_device()
extlinux/main.c: implement patch_syslinux_bootsect()
extlinux/main.c: implement ext_construct_sectmap_fs()
libinstaller/syslxopt.c:...
2015 Nov 13
0
[PATCH 2/4] extlinux: rename ext2_fat_install_file
Rename from ext2_fat_install_file to ext_common_install_file as it is
use for ext, vfat, ntfs and ufs.
Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr>
---
extlinux/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index 5bab712..c446c75 100644
--- a/extlinu...
2012 Aug 28
1
[PATCH hivex] maint: remove unnecessary mkdir -p
...efile.am
@@ -1,5 +1,5 @@
# hivex OCaml bindings
-# Copyright (C) 2009-2010 Red Hat Inc.
+# Copyright (C) 2009-2010, 2012 Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -97,7 +97,6 @@ install_files += *.cmx *.cmxa
endif
install-data-hook:
- mkdir -p $(DESTDIR)$(OCAMLLIB)
mkdir -p $(DESTDIR)$(OCAMLLIB)/stublibs
$(OCAMLFIND) install \
-ldconf ignore -destdir $(DESTDIR)$(OCAMLLIB) \
--
1.7.12.116.g31e0100
2013 Jul 19
0
[PATCH 001/001] Add UFS1/2 support to Extlinux installer.
...the first 64K blank area, which
> +/* btrfs/ufs2 has to install the ldlinux.sys in the first 64K blank area, which
> is not managered by btrfs tree, so actually this is not installed as files.
> since the cow feature of btrfs will move the ldlinux.sys every where */
> int btrfs_install_file(const char *path, int devfd, struct stat *rst)
The ufs2 portion of this could do with more explanation, since the btrfs
reasons don't apply to ufs2, right (ufs2 has no cow feature)?
> @@ -955,9 +974,10 @@ static char * get_default_subvol(char * rootdir, char * subvol)
>
> static i...
2011 Apr 15
0
[GIT PULL] syslinux command-line
...slxcom.c | 13 +++++++++++++
libinstaller/syslxcom.h | 1 +
linux/syslinux.c | 4 ++++
4 files changed, 19 insertions(+), 14 deletions(-)
diff --git a/extlinux/main.c b/extlinux/main.c
index 21369e4..e5212a9 100755
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -503,19 +503,6 @@ int install_file(const char *path, int devfd, struct
stat *rst)
return 1;
}
-/*
- * SYSLINUX installs the string 'SYSLINUX' at offset 3 in the boot
- * sector; this is consistent with FAT filesystems. Earlier versions
- * would install the string "EXTLINUX" instead, handle both.
- */
-int alr...
2012 Aug 28
1
"make distcheck" failure
Hi Rich,
I ran these commands as non-root:
./autogen.sh && make && make distcheck
It got most of the way through, but failed in the VPATH part
while rebuilding from a ./_build subdir, like this:
make[4]: Entering directory `/h/j/w/co/hivex/hivex-1.3.6/_build/ocaml'
mkdir -p /usr/lib64/ocaml
mkdir -p /usr/lib64/ocaml/stublibs
ocamlfind install \
2013 Jul 12
2
[PATCH 001/001] Add UFS1/2 support to Extlinux installer.
...the ldlinux.sys in the first 64K blank area, which
+/* btrfs/ufs2 has to install the ldlinux.sys in the first 64K blank area, which
is not managered by btrfs tree, so actually this is not installed as files.
since the cow feature of btrfs will move the ldlinux.sys every where */
int btrfs_install_file(const char *path, int devfd, struct stat *rst)
@@ -955,9 +974,10 @@ static char * get_default_subvol(char * rootdir, char * subvol)
static int install_file(const char *path, int devfd, struct stat *rst)
{
- if (fs_type == EXT2 || fs_type == VFAT || fs_type == NTFS)
+ if (fs_type == EXT2 |...
2015 Nov 18
0
[PATCH] extlinux: code cleanup and simplification
2015-11-13 20:35 UTC+01:00, Nicolas Cornu via Syslinux <syslinux at zytor.com>:
> Merge btrfs_read_adv and xfs_read_adv into a single generic function
> ext_read_adv and split ext_write_adv_offset out of ext_write_adv.
>
> Use those new functions in rewrite_boot_image and btrfs_install_file
> where it is actually hardcoded.
>
> Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr>
> ---
> extlinux/main.c | 113
> +++++++++++++++++++++++++++-----------------------------
> 1 file changed, 55 insertions(+), 58 deletions(-)
>
> diff --git a/extlinux/main.c...
2015 Nov 26
0
[syslinux:master] extlinux: code cleanup and simplification
...jr at zytor.com>
CommitDate: Wed, 25 Nov 2015 21:58:23 -0200
extlinux: code cleanup and simplification
Merge btrfs_read_adv and xfs_read_adv into a single generic function
ext_read_adv and split ext_write_adv_offset out of ext_write_adv.
Use those new functions in rewrite_boot_image and btrfs_install_file
where it is actually hardcoded.
Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr>
Signed-off-by: Paulo Alcantara <pcacjr at zytor.com>
---
extlinux/main.c | 113 +++++++++++++++++++++++++++-----------------------------
1 file changed, 55 insertions(+), 58 deletions(-)
diff --git...
2015 Nov 18
1
[PATCH] extlinux: code cleanup and simplification
...2015-11-13 20:35 UTC+01:00, Nicolas Cornu via Syslinux <syslinux at zytor.com>:
> Merge btrfs_read_adv and xfs_read_adv into a single generic function
> ext_read_adv and split ext_write_adv_offset out of ext_write_adv.
>
> Use those new functions in rewrite_boot_image and btrfs_install_file
> where it is actually hardcoded.
>
> Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr>
> ---
>? extlinux/main.c | 113
> +++++++++++++++++++++++++++-----------------------------
>? 1 file changed, 55 insertions(+), 58 deletions(-)
>
> diff --git a/extlinux/main.c...
2011 Jul 12
0
[PATCH]: Use a general way to get the default subvolume for btrfs
...from 0~512, the boot image starts after */
#define BTRFS_BOOTSECT_AREA 65536
#define BTRFS_EXTLINUX_OFFSET SECTOR_SIZE
-#define BTRFS_SUBVOL_OPT "subvol="
#define BTRFS_SUBVOL_MAX 256 /* By btrfs specification */
static char subvol[BTRFS_SUBVOL_MAX];
@@ -492,6 +491,270 @@ int btrfs_install_file(const char *path, int devfd, struct stat *rst)
return 0;
}
+/*
+ * * test if path is a subvolume:
+ * * this function return
+ * * 0-> path exists but it is not a subvolume
+ * * 1-> path exists and it is a subvolume
+ * * -1 -> path is unaccessible
+ * */
+st...
2015 Nov 13
4
[PATCH 1/4] extlinux: simplification
Merge installation of ldlinux.c32 from ext2_fat_install_file,
btrfs_install_file and xfs_install_file into one function
ext_install_ldlinux_c32
Signed-off-by: Nicolas Cornu <nicolac76 at yahoo.fr>
---
extlinux/main.c | 106 +++++++++++++++++++++-----------------------------------
1 file changed, 40 insertions(+), 66 deletions(-)
diff --git a/extlinu...
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512.
Currently it fixes extlinux, MBR for GPT and ext partitions.
Other code is unaffected.
This set of patches has been tested on a read Dell machine running a beta
firmware.
2013 Jul 22
1
[PATCH 1/1 v2] Add UFS1/2 support to Extlinux installer.
...l the ldlinux.sys in the first 64K blank area;
+ * so actually this is not installed as files.
+ *
+ * ufs2: not managed by UFS group descriptor (ufs2 has no cow feature).
+ * btrfs: not managed by btrfs tree; since the cow feature of btrfs will
+ * move the ldlinux.sys every where.
+ */
int btrfs_install_file(const char *path, int devfd, struct stat *rst)
{
char *file;
@@ -955,9 +979,10 @@ static char * get_default_subvol(char * rootdir, char * subvol)
static int install_file(const char *path, int devfd, struct stat *rst)
{
- if (fs_type == EXT2 || fs_type == VFAT || fs_type == NTFS)
+ i...
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Wrote the documentation below. I think it would be good to push the doc to
the wiki as soon as the UFS support gets merged.
Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install)
-----
There is a confusion about the name of this file system, then I decided to
contact the author who replied:
"The name has always been