summaryrefslogtreecommitdiffstats
path: root/helper/fileutil.inc
Commit message (Collapse)AuthorAgeFilesLines
* helpers/includes now should include an __init function and not just do stuff ↵Simon Rettberg2014-07-271-0/+5
| | | | right away when being sourced
* Keep split usr if original system has it, add extra logic if no split usrroot2014-07-241-1/+3
|
* !! Split up 'mltk' into 'mltk' and 'openslx' !!Simon Rettberg2014-01-021-199/+0Star
| | | | | | | | | | 'mltk remote' is now 'mltk' 'mltk server' is now 'openslx' Also changed the export type (-e) stage31 to 'cpio' and stage32 and addons to 'sqfs' It should describe what it's packed as, not what the meaning of the content is; you can already tell from the file name.
* [fileutil.inc] new: install_package generic install package function forJonathan Bauer2013-12-091-39/+58
| | | | | single packages. Refined checks to see if a package is installed entirely and not just some configuration files
* [helper/fileutil.inc] new var REQUIRED_PACKET_FILES_BLACKLIST forChristian Rößler2013-10-141-2/+13
| | | | list_packet_files exclusion
* [helper/fileutil] Fix error handling in install_packagesSimon Rettberg2013-09-301-7/+7
|
* Tried to amend single commentary for many files: New vbox moduleChristian Rößler2013-08-281-2/+2
|\ | | | | | | | | | | | | | | [not complete] Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts Conflicts: helper/fileutil.inc
| * [fileutil.inc] list_packet_files: Ignore output lines that do not start with ↵Simon Rettberg2013-08-271-2/+2
| | | | | | | | a slash (e.g. dpkg messages about diverted files)
* | [fileutil.inc] Introduced variable PACKET_HANDLER for simplification.Christian Rößler2013-08-211-8/+6Star
|/
* [fileutil.inc] Added yum to packet managersroot2013-08-011-2/+14
|
* <BREAKING> Start to implement distribution specific module configs instead ofSimon Rettberg2013-07-291-11/+0Star
| | | | | just packet-manager specific. This requires adapting the configs of all modules (but not their build scripts)
* [fileutil.inc] improve install_packages function to check whether packages ↵Jonathan Bauer2013-07-111-9/+50
| | | | are already installed before trying to install them (should speed up the whole thing). Additionally it now outputs the list of installed packages. This could be saved in some log to review which packages where installed during the building process
* [fileutil] fix typoJonathan Bauer2013-07-091-2/+2
|
* [fileutil.inc] remove debug messageJonathan Bauer2013-06-131-1/+0Star
|
* [alsa] Seems package names are different on SUSE after all...Simon Rettberg2013-06-131-2/+5
|
* [fileutil.inc] minor fixJonathan Bauer2013-06-121-5/+6
|
* [fileutil.inc] generic install_package function, to be used in scripts. ↵Jonathan Bauer2013-06-121-20/+19Star
| | | | Installs a package using the platform's packet manager
* [vmplayer] More error checksroot2013-05-311-2/+12
| | | | | [stage31] more error checks in stage31 (and then drop to shell) [fileutil] Add option to tarcopy to ignore failed reads
* fix annoying error message of 'which apt-get' on suseJonathan Bauer2013-05-231-2/+2
|
* Refactoring:Simon Rettberg2013-05-211-7/+7
| | | | | REQUIRED_DEPENDENCIES -> REQUIRED_INSTALLED_PACKAGES REQUIRED_PACKAGES -> REQUIRED_CONTENT_PACKAGES
* dhcp service now requests same IP if he got one previouslyJonathan Bauer2013-05-071-2/+4
|
* start global install_package functionJonathan Bauer2013-04-251-1/+13
|
* fix rsyslogd for ubuntu (hopefully not broken on suse :/)Jonathan Bauer2013-04-241-0/+4
|
* Update for openSUSE 12.3Simon Rettberg2013-04-191-0/+1
|
* copy_kernel to boot and size of initramfs/sqfsMichael Neves2013-04-121-2/+2
|
* commitJonathan Bauer2013-04-121-2/+0Star
|
* remove check if packet is already installedJonathan Bauer2013-04-121-2/+2
|
* Size calculation fixedMichael Neves2013-04-121-3/+2Star
|
* required/optional packages. consolekit for rpm.Simon Rettberg2013-04-121-1/+7
| | | | | | REQUIRED_PACKAGES are now actually required, but you can prefix optional packages with '@'. See xorg.conf for an example. a consolekit.conf.zypper was created to make consolekit work on opensuse 12.1
* KERNEL_VERSION from system.incMichael Neves2013-04-121-8/+29
| | | | | | | | | | | | | | | | | | | | | | | | gitignore and calc_size in fileutil calculates the build size of a module fix generate_target argument parsing add xfs to rootfs-stage31.conf added server sync option -s - Fix sshd module failing to set permissions on sshd config - Add all required packages for openSUSE to xorg module - Softlink sh to bash in rootfs-stage32, as some scripts might fail otherwise Thanks hwinfo but we don't need you anymore Added size log fix list_packet_files exiting loop when a packet wasnt installed remove flag checks, now done in setup_target check if kernel module is already built-in
* Merge branch 'master' of ssh://openslx/openslx-ng/tm-scriptsSimon Rettberg2013-03-191-12/+16
|\
| * mergeMichael Neves2013-03-191-1/+10
| |\
| * | adjustments to generate_initramfs and generate_squashfsMichael Neves2013-03-191-12/+16
| | |
* | | Tweak modules to work with openSUSE 12.1Simon Rettberg2013-03-191-5/+5
| | |
* | | Merge branch 'master' of ssh://openslx/openslx-ng/tm-scriptsroot2013-03-191-4/+42
|\ \ \ | | |/ | |/|
| * | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scriptsJonathan Bauer2013-03-191-1/+1
| |\ \
| | * | Fix warning message in list_package_filesSimon Rettberg2013-03-191-1/+1
| | |/
| * / copy_static_files function now called on each moduleJonathan Bauer2013-03-191-0/+9
| |/
| * plymouth for stage3.1Jonathan Bauer2013-03-131-2/+17
| |
| * change perror to pwarning if a package is not installed. TODO what if a ↵Jonathan Bauer2013-03-011-3/+3
| | | | | | | | package is missing?
| * tarcopy: check for destination directory else create itJonathan Bauer2013-03-011-0/+1
| |
| * Merge branch 'master' of git.openslx.org:openslx-ng/tm-scriptsMichael Neves2013-02-281-0/+46
| |\ | | | | | | | | | | | | | | | Conflicts: helper/fileutil.inc remote/tools/base/base.build
| * \ init and build_core mergesMichael Neves2013-02-271-9/+11
| |\ \
| * | | move generate_initramfs to fileutilsMichael Neves2013-02-271-0/+13
| | | |
* | | | openSUSE non-interactive zypperroot2013-03-191-1/+1
| |_|/ |/| |
* | | Generalization:root2013-02-271-0/+46
| |/ |/| | | | | | | | | | | - Rework install_dependencies: make it a global function, not per tools.build - Determine packet manager of local system (currently supports apt/dpkg and zypper/rpm) - Look for packet manager specific tools.conf.$MANAGER first, use tools.conf otherwise - Added list_package_files which should be used instead of "for $(dpkg -L | grep ...) ... >> ... done"
* | fix build_coreSimon Rettberg2013-02-251-7/+9
|/
* [helper] Fix password replacement sed expression in add_user, fix return ↵Simon Rettberg2013-02-221-5/+4Star
| | | | value checking in tarcopy
* Added helper/fileutil.inc that provides tarcopy, an error-checking version ↵Simon Rettberg2013-02-221-0/+17
of "tar cp xx | tar xp -C xx" Added add_group function Changed add_user to update an existing user's password if called with a password Updated base.build to use new logging system